Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 96.81 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 175.6 kB / 16.57 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 223.2 MB / 240.5 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7273/0.7273, allocations: 113.8 MB / 405.4 MB, free: 4.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003098/0.0003101, allocations: 11.98 kB / 493.1 MB, free: 8.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1599, allocations: 77.15 MB / 0.5569 GB, free: 11.6 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.371/0.5309, allocations: 32.65 MB / 0.5887 GB, free: 15.6 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02551/0.5565, allocations: 12.54 MB / 0.601 GB, free: 13.73 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004767/0.5613, allocations: 138.7 kB / 0.6011 GB, free: 13.67 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003827/0.5651, allocations: 0.7419 MB / 0.6018 GB, free: 13.26 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008989/0.5742, allocations: 1.887 MB / 0.6037 GB, free: 12.64 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008163/0.5824, allocations: 1.648 MB / 0.6053 GB, free: 11.88 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01287/0.5953, allocations: 4.85 MB / 0.61 GB, free: 9.387 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02405/0.6194, allocations: 11.44 MB / 0.6212 GB, free: 3.961 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007528/0.6269, allocations: 2.635 MB / 0.6238 GB, free: 2.375 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007652/0.6346, allocations: 2.675 MB / 0.6264 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00246/0.6371, allocations: 317.8 kB / 0.6267 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006282/0.6434, allocations: 0.6486 MB / 0.6273 GB, free: 0.6289 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004975/0.6484, allocations: 2.252 MB / 0.6295 GB, free: 15.35 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004508/0.653, allocations: 1.175 MB / 0.6307 GB, free: 14.68 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0155/0.6685, allocations: 9.582 MB / 0.64 GB, free: 5.23 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.6686, allocations: 0 / 0.64 GB, free: 5.23 MB / 462.1 MB Notification: Performance of FrontEnd: time 4.278e-06/0.6686, allocations: 4 kB / 0.64 GB, free: 5.227 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004804/0.6691, allocations: 0 / 0.64 GB, free: 5.227 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.0163/0.6854, allocations: 5.154 MB / 0.6451 GB, free: 0 / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.408e-05/0.6855, allocations: 12.08 kB / 0.6451 GB, free: 15.98 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009809/0.6953, allocations: 1.281 MB / 0.6463 GB, free: 14.7 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009576/0.7049, allocations: 3.475 MB / 0.6497 GB, free: 11.15 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003731/0.7053, allocations: 382.1 kB / 0.6501 GB, free: 10.77 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001969/0.7073, allocations: 0.4959 MB / 0.6506 GB, free: 10.28 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02017/0.7275, allocations: 8.808 MB / 0.6592 GB, free: 1.117 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001951/0.7277, allocations: 27.67 kB / 0.6592 GB, free: 1.09 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009165/0.7287, allocations: 227.8 kB / 0.6594 GB, free: 0.8672 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002276/0.7309, allocations: 0.6265 MB / 0.66 GB, free: 244 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0161/0.747, allocations: 6.975 MB / 0.6668 GB, free: 9.25 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06046/0.8076, allocations: 40.41 MB / 0.7063 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004553/0.8122, allocations: 2.886 MB / 0.7091 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003102/0.8125, allocations: 34.02 kB / 0.7092 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.343e-05/0.8126, allocations: 68.59 kB / 0.7092 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=265): time 4.258e-06/0.8126, allocations: 0 / 0.7092 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of matching and sorting (n=424): time 0.315/1.128, allocations: 77.41 MB / 0.7848 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.265e-05/1.128, allocations: 94.73 kB / 0.7849 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004484/1.132, allocations: 2.332 MB / 0.7872 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.001077/1.133, allocations: 93.7 kB / 0.7873 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001859/1.135, allocations: 2.345 MB / 0.7896 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.002185/1.137, allocations: 1.432 MB / 0.791 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007605/1.138, allocations: 96 kB / 0.7911 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0003277/1.139, allocations: 479.3 kB / 0.7915 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005241/1.144, allocations: 2.976 MB / 0.7944 GB, free: 2.555 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005908/1.15, allocations: 3.816 MB / 0.7981 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006011/1.156, allocations: 3.548 MB / 0.8016 GB, free: 10.85 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.449e-05/1.156, allocations: 11.88 kB / 0.8016 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.03123/1.187, allocations: 12.49 MB / 0.8138 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 5.347e-05/1.187, allocations: 16.97 kB / 0.8138 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.216e-05/1.187, allocations: 24 kB / 0.8139 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02339/1.211, allocations: 6.019 MB / 0.8197 GB, free: 8.121 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002484/1.213, allocations: 0.4913 MB / 0.8202 GB, free: 7.629 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3877/1.601, allocations: 69.27 MB / 0.8879 GB, free: 167.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003989/1.605, allocations: 219.2 kB / 0.8881 GB, free: 167.3 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005178/1.605, allocations: 150.8 kB / 0.8882 GB, free: 167.2 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (269): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00383/1.609, allocations: 1.998 MB / 0.8902 GB, free: 166.3 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007981/1.61, allocations: 395.1 kB / 0.8905 GB, free: 166.2 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02401/1.634, allocations: 12.18 MB / 0.9024 GB, free: 161.3 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-05/1.634, allocations: 42.88 kB / 0.9025 GB, free: 161.3 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001309/1.634, allocations: 52 kB / 0.9025 GB, free: 161.3 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.496e-05/1.634, allocations: 20.06 kB / 0.9026 GB, free: 161.3 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03336/1.668, allocations: 19.12 MB / 0.9212 GB, free: 145.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.38e-05/1.668, allocations: 8 kB / 0.9212 GB, free: 145.6 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001425/1.669, allocations: 287.5 kB / 0.9215 GB, free: 145.3 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01915/1.688, allocations: 5.573 MB / 0.9269 GB, free: 139.7 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008873/1.689, allocations: 76 kB / 0.927 GB, free: 139.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06276/1.752, allocations: 66.91 MB / 0.9924 GB, free: 69.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/1.752, allocations: 11.94 kB / 0.9924 GB, free: 69.59 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02781/1.78, allocations: 16.2 MB / 1.008 GB, free: 52.94 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003001/1.783, allocations: 1.048 MB / 1.009 GB, free: 51.87 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007738/1.784, allocations: 87.94 kB / 1.009 GB, free: 51.78 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002557/1.786, allocations: 215.7 kB / 1.01 GB, free: 51.57 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001398/1.788, allocations: 398.3 kB / 1.01 GB, free: 51.18 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000269/1.788, allocations: 108 kB / 1.01 GB, free: 51.07 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001866/1.79, allocations: 1.533 MB / 1.011 GB, free: 49.54 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.2e-07/1.79, allocations: 0 / 1.011 GB, free: 49.54 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.007073/1.797, allocations: 1.863 MB / 1.013 GB, free: 47.68 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 15,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008594/1.798, allocations: 215.2 kB / 1.014 GB, free: 47.46 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01906/1.817, allocations: 12.19 MB / 1.025 GB, free: 34.97 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.546e-05/1.817, allocations: 5 kB / 1.025 GB, free: 34.97 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.01444/1.831, allocations: 8.372 MB / 1.034 GB, free: 26.3 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005575/1.837, allocations: 1.04 MB / 1.035 GB, free: 25.27 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02071/1.858, allocations: 14.26 MB / 1.049 GB, free: 11.01 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005877/1.864, allocations: 4.191 MB / 1.053 GB, free: 6.781 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0035/1.867, allocations: 0.6669 MB / 1.053 GB, free: 6.109 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005373/1.868, allocations: 179.4 kB / 1.053 GB, free: 5.934 MB / 0.6387 GB Notification: Performance of SimCode: time 2.365e-06/1.868, allocations: 0 / 1.053 GB, free: 5.934 MB / 0.6387 GB Notification: Performance of Templates: time 0.4699/2.338, allocations: 102.5 MB / 1.154 GB, free: 157.8 MB / 0.6544 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)