Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.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.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 113.3 kB / 17.04 MB, free: 6.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 196 kB / 17.98 MB, free: 5.16 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.3/1.3, allocations: 222.9 MB / 241.7 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6816/0.6816, allocations: 115.1 MB / 406.9 MB, free: 6.367 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 64.12 kB / 494.8 MB, free: 15.89 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3652/0.3664, allocations: 76.15 MB / 0.5576 GB, free: 36.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.01394/0.3804, allocations: 11.82 MB / 0.5691 GB, free: 28.66 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007641/0.3881, allocations: 5.34 MB / 0.5743 GB, free: 25.03 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001015/0.3891, allocations: 37.69 kB / 0.5744 GB, free: 25.02 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002508/0.3917, allocations: 1.033 MB / 0.5754 GB, free: 24.42 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001632/0.3933, allocations: 0.6272 MB / 0.576 GB, free: 24.04 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002144/0.3955, allocations: 0.9185 MB / 0.5769 GB, free: 23.53 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002781/0.3983, allocations: 2.461 MB / 0.5793 GB, free: 22.45 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003553/0.4018, allocations: 3.525 MB / 0.5827 GB, free: 21.19 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001867/0.4037, allocations: 1.097 MB / 0.5838 GB, free: 20.71 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001735/0.4055, allocations: 1.212 MB / 0.585 GB, free: 20.19 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000367/0.4058, allocations: 231.7 kB / 0.5852 GB, free: 20.19 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001039/0.4069, allocations: 0.497 MB / 0.5857 GB, free: 20.09 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009033/0.4078, allocations: 0.9028 MB / 0.5866 GB, free: 19.71 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001004/0.4088, allocations: 0.9885 MB / 0.5876 GB, free: 19.08 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00319/0.412, allocations: 3.546 MB / 0.591 GB, free: 17.05 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.412, allocations: 9.031 kB / 0.591 GB, free: 17.04 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.4121, allocations: 0 / 0.591 GB, free: 17.04 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.728e-05/0.4121, allocations: 0 / 0.591 GB, free: 17.04 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.003823/0.416, allocations: 1.921 MB / 0.5929 GB, free: 15.69 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.416, allocations: 10.31 kB / 0.5929 GB, free: 15.69 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002175/0.4182, allocations: 470.2 kB / 0.5934 GB, free: 15.45 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002519/0.4207, allocations: 1.121 MB / 0.5945 GB, free: 14.67 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.152e-05/0.4208, allocations: 119.4 kB / 0.5946 GB, free: 14.55 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002659/0.4211, allocations: 156.1 kB / 0.5947 GB, free: 14.4 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003569/0.4246, allocations: 2.723 MB / 0.5974 GB, free: 11.61 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.935e-05/0.4247, allocations: 0 / 0.5974 GB, free: 11.61 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001614/0.4249, allocations: 67.98 kB / 0.5974 GB, free: 11.55 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002358/0.4251, allocations: 150.8 kB / 0.5976 GB, free: 11.4 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002848/0.428, allocations: 2.272 MB / 0.5998 GB, free: 9.121 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009519/0.4375, allocations: 10.35 MB / 0.6099 GB, free: 13.88 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000891/0.4384, allocations: 0.5672 MB / 0.6105 GB, free: 13.31 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000529/0.439, allocations: 372.5 kB / 0.6108 GB, free: 12.94 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000117/0.4391, allocations: 92.95 kB / 0.6109 GB, free: 12.83 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.4391, allocations: 46.5 kB / 0.611 GB, free: 12.78 MB / 462.1 MB Notification: Performance of pre-optimization done (n=36): time 2.254e-06/0.4392, allocations: 0 / 0.611 GB, free: 12.78 MB / 462.1 MB Notification: Performance of matching and sorting (n=52): time 0.01799/0.4572, allocations: 5.542 MB / 0.6164 GB, free: 7.168 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/0.4572, allocations: 55.84 kB / 0.6164 GB, free: 7.102 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001132/0.4584, allocations: 0.8827 MB / 0.6173 GB, free: 6.211 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.997e-05/0.4585, allocations: 41.7 kB / 0.6173 GB, free: 6.164 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004531/0.4589, allocations: 0.75 MB / 0.6181 GB, free: 5.402 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001538/0.4591, allocations: 189.4 kB / 0.6182 GB, free: 5.215 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000311/0.4594, allocations: 194.4 kB / 0.6184 GB, free: 5.02 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.4596, allocations: 386.8 kB / 0.6188 GB, free: 4.633 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009105/0.4605, allocations: 0.6254 MB / 0.6194 GB, free: 4.004 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00111/0.4616, allocations: 0.9786 MB / 0.6204 GB, free: 2.859 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002016/0.4636, allocations: 1.623 MB / 0.6219 GB, free: 1.074 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.503e-06/0.4637, allocations: 4 kB / 0.6219 GB, free: 1.07 MB / 462.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.008322/0.472, allocations: 3.065 MB / 0.6249 GB, free: 13.98 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.976e-05/0.472, allocations: 13.88 kB / 0.625 GB, free: 13.97 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.229e-05/0.4721, allocations: 12 kB / 0.625 GB, free: 13.96 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006698/0.4788, allocations: 1.646 MB / 0.6266 GB, free: 12.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008841/0.4797, allocations: 211.6 kB / 0.6268 GB, free: 12.09 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01343/0.4931, allocations: 10.59 MB / 0.6371 GB, free: 0.9492 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001453/0.4946, allocations: 163.6 kB / 0.6373 GB, free: 0.7891 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.555e-05/0.4947, allocations: 40 kB / 0.6373 GB, free: 0.75 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002162/0.4969, allocations: 1.29 MB / 0.6386 GB, free: 15.46 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001089/0.498, allocations: 0.9513 MB / 0.6395 GB, free: 14.34 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001924/0.4999, allocations: 1.568 MB / 0.641 GB, free: 12.61 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.24e-06/0.5, allocations: 0 / 0.641 GB, free: 12.61 MB / 494.1 MB Notification: Performance of matching and sorting (n=111) (initialization_lambda0): time 0.006599/0.5066, allocations: 2.599 MB / 0.6436 GB, free: 9.996 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/0.5066, allocations: 9.562 kB / 0.6436 GB, free: 9.988 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.905e-05/0.5066, allocations: 15.94 kB / 0.6436 GB, free: 9.973 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004252/0.5109, allocations: 1.067 MB / 0.6446 GB, free: 8.898 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009755/0.5119, allocations: 239.6 kB / 0.6449 GB, free: 8.664 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007972/0.5199, allocations: 5.756 MB / 0.6505 GB, free: 2.625 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001325/0.5212, allocations: 147.7 kB / 0.6506 GB, free: 2.48 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.54e-05/0.5213, allocations: 47.94 kB / 0.6507 GB, free: 2.434 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (99): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003193/0.5217, allocations: 244 kB / 0.6509 GB, free: 2.188 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001457/0.5218, allocations: 83.05 kB / 0.651 GB, free: 2.105 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007066/0.5289, allocations: 2.535 MB / 0.6535 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.5289, allocations: 4 kB / 0.6535 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.5289, allocations: 8 kB / 0.6535 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/0.529, allocations: 3.984 kB / 0.6535 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009921/0.5389, allocations: 4.454 MB / 0.6578 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.939e-06/0.5389, allocations: 4 kB / 0.6578 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000388/0.5393, allocations: 91.84 kB / 0.6579 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005788/0.5451, allocations: 1.497 MB / 0.6594 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.564e-05/0.5452, allocations: 15.94 kB / 0.6594 GB, free: 9.328 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01133/0.5565, allocations: 10.12 MB / 0.6693 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/0.5566, allocations: 16.02 kB / 0.6693 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0069/0.5635, allocations: 2.498 MB / 0.6717 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007683/0.5643, allocations: 268 kB / 0.672 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001303/0.5644, allocations: 12 kB / 0.672 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007409/0.5652, allocations: 115.8 kB / 0.6721 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002179/0.5654, allocations: 48.08 kB / 0.6722 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.937e-05/0.5655, allocations: 16 kB / 0.6722 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008283/0.5663, allocations: 0.6316 MB / 0.6728 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5663, allocations: 4 kB / 0.6728 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00213/0.5684, allocations: 0.582 MB / 0.6734 GB, free: 10.39 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 simulation (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002461/0.5687, allocations: 124.1 kB / 0.6735 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004982/0.5737, allocations: 3.082 MB / 0.6765 GB, free: 7.105 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.952e-06/0.5737, allocations: 7.938 kB / 0.6765 GB, free: 7.098 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001767/0.5755, allocations: 1.179 MB / 0.6776 GB, free: 5.867 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001123/0.5766, allocations: 243.2 kB / 0.6779 GB, free: 5.645 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004867/0.5815, allocations: 2.968 MB / 0.6808 GB, free: 2.617 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001341/0.5828, allocations: 1.626 MB / 0.6824 GB, free: 0.9609 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001116/0.584, allocations: 482.2 kB / 0.6828 GB, free: 496 kB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001477/0.5841, allocations: 59.44 kB / 0.6829 GB, free: 436 kB / 0.5137 GB Notification: Performance of SimCode: time 1.152e-06/0.5841, allocations: 0 / 0.6829 GB, free: 436 kB / 0.5137 GB Notification: Performance of Templates: time 0.03227/0.6164, allocations: 23.99 MB / 0.7063 GB, free: 8.602 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)