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.001084/0.001084, allocations: 87.17 kB / 16.66 MB, free: 6.59 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.001271/0.001271, allocations: 182.9 kB / 17.58 MB, free: 6.188 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.382/1.382, allocations: 223.3 MB / 241.6 MB, free: 14.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7307/0.7307, allocations: 115.5 MB / 408.2 MB, free: 7.105 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003407/0.0003407, allocations: 8 kB / 496.5 MB, free: 15.69 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.415/0.4154, allocations: 77.52 MB / 0.5606 GB, free: 35.47 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.0128/0.4282, allocations: 11.28 MB / 0.5716 GB, free: 27.81 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008978/0.4373, allocations: 5.276 MB / 0.5768 GB, free: 24.22 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001579/0.4389, allocations: 31.91 kB / 0.5768 GB, free: 24.21 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001388/0.4403, allocations: 305.7 kB / 0.5771 GB, free: 24.05 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002209/0.4425, allocations: 0.5871 MB / 0.5777 GB, free: 23.72 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00216/0.4447, allocations: 0.6321 MB / 0.5783 GB, free: 23.35 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00534/0.4501, allocations: 3.594 MB / 0.5818 GB, free: 22.21 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007272/0.4574, allocations: 4.109 MB / 0.5858 GB, free: 20.5 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001904/0.4593, allocations: 0.763 MB / 0.5865 GB, free: 20.21 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002222/0.4615, allocations: 1.023 MB / 0.5875 GB, free: 19.84 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000545/0.4621, allocations: 91.38 kB / 0.5876 GB, free: 19.84 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00154/0.4636, allocations: 440 kB / 0.588 GB, free: 19.71 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001397/0.4651, allocations: 0.7277 MB / 0.5888 GB, free: 19.48 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001947/0.467, allocations: 0.8086 MB / 0.5895 GB, free: 18.96 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003202/0.4702, allocations: 2.969 MB / 0.5924 GB, free: 17.23 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.4703, allocations: 1 kB / 0.5924 GB, free: 17.23 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4703, allocations: 0 / 0.5924 GB, free: 17.23 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.463e-05/0.4703, allocations: 0 / 0.5924 GB, free: 17.23 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.003205/0.4735, allocations: 1.593 MB / 0.594 GB, free: 16.09 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.4736, allocations: 9.875 kB / 0.594 GB, free: 16.09 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002214/0.4758, allocations: 457.5 kB / 0.5944 GB, free: 15.87 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001729/0.4776, allocations: 1.105 MB / 0.5955 GB, free: 15.13 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.555e-05/0.4777, allocations: 109 kB / 0.5956 GB, free: 15.09 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002903/0.478, allocations: 163.8 kB / 0.5958 GB, free: 15.02 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00386/0.4818, allocations: 2.742 MB / 0.5985 GB, free: 12.4 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.183e-05/0.4819, allocations: 3.984 kB / 0.5985 GB, free: 12.4 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001677/0.482, allocations: 71.98 kB / 0.5985 GB, free: 12.33 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002546/0.4823, allocations: 147 kB / 0.5987 GB, free: 12.18 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002959/0.4853, allocations: 2.28 MB / 0.6009 GB, free: 9.898 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009563/0.4949, allocations: 10.45 MB / 0.6111 GB, free: 14.55 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000984/0.4959, allocations: 0.5725 MB / 0.6117 GB, free: 13.97 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006138/0.4965, allocations: 380.6 kB / 0.612 GB, free: 13.6 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001279/0.4966, allocations: 92.95 kB / 0.6121 GB, free: 13.49 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.449e-05/0.4967, allocations: 46.5 kB / 0.6122 GB, free: 13.43 MB / 462.1 MB Notification: Performance of pre-optimization done (n=36): time 2.425e-06/0.4967, allocations: 0 / 0.6122 GB, free: 13.43 MB / 462.1 MB Notification: Performance of matching and sorting (n=52): time 0.02018/0.5169, allocations: 5.745 MB / 0.6178 GB, free: 7.621 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.021e-05/0.517, allocations: 55.84 kB / 0.6178 GB, free: 7.555 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001466/0.5185, allocations: 0.8827 MB / 0.6187 GB, free: 6.664 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001122/0.5186, allocations: 41.7 kB / 0.6187 GB, free: 6.617 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005438/0.5191, allocations: 0.7499 MB / 0.6195 GB, free: 5.855 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001933/0.5193, allocations: 185.4 kB / 0.6196 GB, free: 5.672 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001485/0.5195, allocations: 81.67 kB / 0.6197 GB, free: 5.586 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001885/0.5197, allocations: 386.8 kB / 0.6201 GB, free: 5.199 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001057/0.5208, allocations: 0.6304 MB / 0.6207 GB, free: 4.566 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001284/0.5221, allocations: 0.9903 MB / 0.6217 GB, free: 3.41 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002357/0.5244, allocations: 1.639 MB / 0.6233 GB, free: 1.613 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.161e-05/0.5244, allocations: 4 kB / 0.6233 GB, free: 1.609 MB / 462.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.00939/0.5338, allocations: 3.143 MB / 0.6263 GB, free: 14.45 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000387/0.5343, allocations: 435.4 kB / 0.6268 GB, free: 13.86 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.586e-05/0.5343, allocations: 12 kB / 0.6268 GB, free: 13.84 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008092/0.5424, allocations: 1.751 MB / 0.6285 GB, free: 12.08 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000984/0.5434, allocations: 215.6 kB / 0.6287 GB, free: 11.87 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01435/0.5578, allocations: 9.93 MB / 0.6384 GB, free: 1.414 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001498/0.5593, allocations: 163.7 kB / 0.6385 GB, free: 1.254 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001862/0.5596, allocations: 43.98 kB / 0.6386 GB, free: 1.211 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.5596, allocations: 4 kB / 0.6386 GB, free: 1.207 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007605/0.5672, allocations: 2.583 MB / 0.6411 GB, free: 14.61 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.42e-05/0.5673, allocations: 12 kB / 0.6411 GB, free: 14.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005398/0.5727, allocations: 1.156 MB / 0.6422 GB, free: 13.44 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001101/0.5738, allocations: 239.6 kB / 0.6425 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007947/0.5818, allocations: 5.434 MB / 0.6478 GB, free: 7.508 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001322/0.5831, allocations: 135.7 kB / 0.6479 GB, free: 7.375 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001866/0.5833, allocations: 40 kB / 0.6479 GB, free: 7.336 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.001704/0.5851, allocations: 0.8401 MB / 0.6488 GB, free: 6.484 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002559/0.5853, allocations: 82.94 kB / 0.6488 GB, free: 6.402 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008392/0.5937, allocations: 2.61 MB / 0.6514 GB, free: 3.77 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.231e-05/0.5938, allocations: 4 kB / 0.6514 GB, free: 3.766 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.407e-06/0.5938, allocations: 4 kB / 0.6514 GB, free: 3.762 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.187e-05/0.5938, allocations: 3.984 kB / 0.6514 GB, free: 3.758 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01195/0.6058, allocations: 4.535 MB / 0.6558 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.33e-05/0.6058, allocations: 4 kB / 0.6558 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000444/0.6063, allocations: 99.84 kB / 0.6559 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007117/0.6134, allocations: 1.591 MB / 0.6575 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001131/0.6135, allocations: 16 kB / 0.6575 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01274/0.6263, allocations: 9.473 MB / 0.6668 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.6263, allocations: 4.031 kB / 0.6668 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007924/0.6343, allocations: 2.578 MB / 0.6693 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00066/0.635, allocations: 276.1 kB / 0.6695 GB, free: 444 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002831/0.6353, allocations: 8 kB / 0.6695 GB, free: 436 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001021/0.6363, allocations: 127.8 kB / 0.6697 GB, free: 308 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002773/0.6366, allocations: 51.86 kB / 0.6697 GB, free: 256 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.511e-05/0.6367, allocations: 16 kB / 0.6697 GB, free: 240 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001131/0.6378, allocations: 0.6278 MB / 0.6703 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6378, allocations: 0 / 0.6703 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002733/0.6406, allocations: 0.5859 MB / 0.6709 GB, free: 15.02 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.0002783/0.6409, allocations: 119.1 kB / 0.671 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00543/0.6463, allocations: 3.098 MB / 0.6741 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/0.6463, allocations: 3.938 kB / 0.6741 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001942/0.6483, allocations: 1.179 MB / 0.6752 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001747/0.65, allocations: 232.2 kB / 0.6754 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00642/0.6565, allocations: 3.872 MB / 0.6792 GB, free: 6.344 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001724/0.6582, allocations: 1.63 MB / 0.6808 GB, free: 4.684 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002832/0.6585, allocations: 67.42 kB / 0.6809 GB, free: 4.617 MB / 0.5137 GB Notification: Performance of SimCode: time 7.91e-07/0.6586, allocations: 0 / 0.6809 GB, free: 4.617 MB / 0.5137 GB Notification: Performance of Templates: time 0.06515/0.7237, allocations: 57.32 MB / 0.7368 GB, free: 11.34 MB / 0.5762 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)