Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 91.16 kB / 16.67 MB, free: 5.742 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.00154/0.00154, allocations: 178.5 kB / 17.58 MB, free: 5.477 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.46/1.46, allocations: 223.3 MB / 241.6 MB, free: 192 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7183/0.7183, allocations: 115.5 MB / 408.2 MB, free: 6.996 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003324/0.0003325, allocations: 15.98 kB / 496.5 MB, free: 15.64 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4041/0.4044, allocations: 77.51 MB / 0.5606 GB, free: 36.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.012/0.4165, allocations: 11.39 MB / 0.5717 GB, free: 28.8 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008858/0.4254, allocations: 5.474 MB / 0.5771 GB, free: 25.08 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001619/0.4271, allocations: 36.66 kB / 0.5771 GB, free: 25.07 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001271/0.4283, allocations: 317.7 kB / 0.5774 GB, free: 24.9 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002057/0.4304, allocations: 0.6044 MB / 0.578 GB, free: 24.55 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002123/0.4326, allocations: 0.6755 MB / 0.5787 GB, free: 24.16 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005019/0.4376, allocations: 3.767 MB / 0.5823 GB, free: 22.96 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00671/0.4443, allocations: 4.348 MB / 0.5866 GB, free: 21.16 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001975/0.4463, allocations: 0.8193 MB / 0.5874 GB, free: 20.84 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002092/0.4484, allocations: 1.122 MB / 0.5885 GB, free: 20.43 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002638/0.4487, allocations: 99.41 kB / 0.5886 GB, free: 20.43 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001276/0.45, allocations: 471 kB / 0.589 GB, free: 20.3 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009062/0.4509, allocations: 0.7483 MB / 0.5898 GB, free: 19.96 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00105/0.452, allocations: 0.8569 MB / 0.5906 GB, free: 19.37 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00287/0.4549, allocations: 3.224 MB / 0.5937 GB, free: 17.08 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.4549, allocations: 0 / 0.5937 GB, free: 17.08 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.4549, allocations: 0 / 0.5937 GB, free: 17.08 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.013e-05/0.455, allocations: 0.9062 kB / 0.5937 GB, free: 17.08 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: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.00402/0.459, allocations: 1.73 MB / 0.5954 GB, free: 15.71 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.459, allocations: 8.031 kB / 0.5954 GB, free: 15.71 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00296/0.462, allocations: 0.7246 MB / 0.5961 GB, free: 14.98 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002236/0.4643, allocations: 1.193 MB / 0.5973 GB, free: 13.74 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.671e-05/0.4643, allocations: 119.6 kB / 0.5974 GB, free: 13.62 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002858/0.4646, allocations: 164.1 kB / 0.5976 GB, free: 13.46 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004238/0.4689, allocations: 2.948 MB / 0.6005 GB, free: 10.45 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4e-05/0.4689, allocations: 0 / 0.6005 GB, free: 10.45 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001831/0.4691, allocations: 64 kB / 0.6005 GB, free: 10.39 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003/0.4694, allocations: 167.1 kB / 0.6007 GB, free: 10.23 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00344/0.4729, allocations: 2.499 MB / 0.6031 GB, free: 7.723 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01081/0.4837, allocations: 10.81 MB / 0.6137 GB, free: 12.02 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001267/0.485, allocations: 0.9141 MB / 0.6146 GB, free: 11.05 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006813/0.4857, allocations: 0.5024 MB / 0.6151 GB, free: 10.55 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001231/0.4859, allocations: 93.47 kB / 0.6152 GB, free: 10.44 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/0.4859, allocations: 34.94 kB / 0.6152 GB, free: 10.4 MB / 462.1 MB Notification: Performance of pre-optimization done (n=46): time 2.755e-06/0.4859, allocations: 0 / 0.6152 GB, free: 10.4 MB / 462.1 MB Notification: Performance of matching and sorting (n=70): time 0.02674/0.5127, allocations: 7.994 MB / 0.623 GB, free: 2.332 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.088e-05/0.5128, allocations: 63.97 kB / 0.6231 GB, free: 2.254 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001353/0.5141, allocations: 0.922 MB / 0.624 GB, free: 1.324 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001426/0.5143, allocations: 37.7 kB / 0.624 GB, free: 1.281 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005293/0.5148, allocations: 0.7814 MB / 0.6248 GB, free: 496 kB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000234/0.5151, allocations: 244.5 kB / 0.625 GB, free: 248 kB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001498/0.5152, allocations: 89.67 kB / 0.6251 GB, free: 152 kB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001983/0.5154, allocations: 398.7 kB / 0.6255 GB, free: 15.75 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001189/0.5166, allocations: 0.7794 MB / 0.6262 GB, free: 14.97 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001379/0.518, allocations: 1.139 MB / 0.6273 GB, free: 13.68 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002593/0.5206, allocations: 1.962 MB / 0.6292 GB, free: 11.57 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.154e-05/0.5206, allocations: 4 kB / 0.6292 GB, free: 11.56 MB / 478.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.009963/0.5306, allocations: 3.678 MB / 0.6328 GB, free: 7.867 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003403/0.531, allocations: 421.1 kB / 0.6332 GB, free: 7.301 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.738e-05/0.531, allocations: 8 kB / 0.6332 GB, free: 7.293 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00852/0.5395, allocations: 2.01 MB / 0.6352 GB, free: 5.277 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001047/0.5406, allocations: 219.6 kB / 0.6354 GB, free: 5.062 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01651/0.5572, allocations: 9.893 MB / 0.6451 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001593/0.5588, allocations: 179.6 kB / 0.6452 GB, free: 10.74 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002113/0.5591, allocations: 51.92 kB / 0.6453 GB, free: 10.69 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.5591, allocations: 8 kB / 0.6453 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008062/0.5671, allocations: 3.009 MB / 0.6482 GB, free: 7.664 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-05/0.5672, allocations: 12 kB / 0.6483 GB, free: 7.652 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005388/0.5726, allocations: 1.295 MB / 0.6495 GB, free: 6.355 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/0.5738, allocations: 271.6 kB / 0.6498 GB, free: 6.09 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01056/0.5844, allocations: 5.99 MB / 0.6556 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001436/0.5859, allocations: 167.6 kB / 0.6558 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002037/0.5861, allocations: 44 kB / 0.6558 GB, free: 15.75 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (97): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,12)} Notification: Performance of prepare postOptimizeDAE: time 0.001712/0.5879, allocations: 0.891 MB / 0.6567 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003068/0.5882, allocations: 86.97 kB / 0.6568 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009308/0.5975, allocations: 3.21 MB / 0.6599 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.524e-05/0.5976, allocations: 11.98 kB / 0.6599 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/0.5976, allocations: 4.188 kB / 0.6599 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/0.5976, allocations: 0 / 0.6599 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01304/0.6106, allocations: 5.341 MB / 0.6652 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.657e-05/0.6107, allocations: 0 / 0.6652 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000504/0.6112, allocations: 103.8 kB / 0.6653 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007647/0.6189, allocations: 1.819 MB / 0.667 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001442/0.6191, allocations: 16 kB / 0.667 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0141/0.6332, allocations: 9.304 MB / 0.6761 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.6332, allocations: 0 / 0.6761 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008777/0.642, allocations: 3.096 MB / 0.6792 GB, free: 7.402 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007269/0.6428, allocations: 335.8 kB / 0.6795 GB, free: 7.055 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002982/0.6431, allocations: 12 kB / 0.6795 GB, free: 7.043 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001092/0.6442, allocations: 135.8 kB / 0.6796 GB, free: 6.91 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003236/0.6446, allocations: 72.34 kB / 0.6797 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-05/0.6446, allocations: 20 kB / 0.6797 GB, free: 6.816 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001188/0.6458, allocations: 0.659 MB / 0.6803 GB, free: 6.164 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6458, allocations: 0 / 0.6803 GB, free: 6.164 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003129/0.649, allocations: 0.6913 MB / 0.681 GB, free: 5.473 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): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003104/0.6493, allocations: 127.4 kB / 0.6811 GB, free: 5.34 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007884/0.6572, allocations: 3.799 MB / 0.6849 GB, free: 1.504 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/0.6572, allocations: 192 / 0.6849 GB, free: 1.504 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002163/0.6594, allocations: 1.246 MB / 0.6861 GB, free: 240 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002031/0.6615, allocations: 356.4 kB / 0.6864 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007593/0.6691, allocations: 4.403 MB / 0.6907 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002072/0.6712, allocations: 1.742 MB / 0.6924 GB, free: 9.656 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003418/0.6716, allocations: 71.42 kB / 0.6925 GB, free: 9.586 MB / 0.5294 GB Notification: Performance of SimCode: time 1.092e-06/0.6716, allocations: 0 / 0.6925 GB, free: 9.586 MB / 0.5294 GB Notification: Performance of Templates: time 0.05513/0.7267, allocations: 42.64 MB / 0.7341 GB, free: 15.03 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1)