Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.337/1.337, allocations: 252 MB / 267.6 MB, free: 10.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001033/0.001033, allocations: 183.8 kB / 327.3 MB, free: 2.195 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.141/2.141, allocations: 205.4 MB / 0.5783 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000982/0.0009821, allocations: 93.36 kB / 0.6829 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003468/0.0003469, allocations: 12.06 kB / 0.797 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2599/0.2602, allocations: 106.3 MB / 0.9008 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.01457/0.2749, allocations: 10.68 MB / 0.9113 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01014/0.2851, allocations: 5.013 MB / 0.9162 GB, free: 48.11 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001682/0.2868, allocations: 27.88 kB / 0.9162 GB, free: 48.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.00138/0.2882, allocations: 306 kB / 0.9165 GB, free: 47.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.00205/0.2903, allocations: 0.5014 MB / 0.917 GB, free: 47.28 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002033/0.2923, allocations: 460.8 kB / 0.9174 GB, free: 46.83 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.003463/0.2958, allocations: 2.786 MB / 0.9201 GB, free: 44.04 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00639/0.3022, allocations: 3.632 MB / 0.9237 GB, free: 40.35 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001957/0.3042, allocations: 0.7278 MB / 0.9244 GB, free: 39.62 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001833/0.3061, allocations: 1.001 MB / 0.9254 GB, free: 38.62 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.00024/0.3063, allocations: 92 kB / 0.9255 GB, free: 38.53 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001247/0.3076, allocations: 307.7 kB / 0.9257 GB, free: 38.23 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0008271/0.3084, allocations: 0.7209 MB / 0.9265 GB, free: 37.5 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0004668/0.3089, allocations: 345 kB / 0.9268 GB, free: 37.16 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.003233/0.3122, allocations: 3.016 MB / 0.9297 GB, free: 34.14 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.3122, allocations: 0 / 0.9297 GB, free: 34.14 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.424e-06/0.3122, allocations: 0 / 0.9297 GB, free: 34.14 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.421e-05/0.3123, allocations: 0 / 0.9297 GB, free: 34.14 MB / 0.6042 GB 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.003835/0.3162, allocations: 1.644 MB / 0.9313 GB, free: 32.44 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.3162, allocations: 8.031 kB / 0.9313 GB, free: 32.43 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00322/0.3194, allocations: 473.5 kB / 0.9318 GB, free: 31.96 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002902/0.3224, allocations: 1.139 MB / 0.9329 GB, free: 30.79 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.765e-05/0.3225, allocations: 115.1 kB / 0.933 GB, free: 30.67 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003979/0.3229, allocations: 152 kB / 0.9332 GB, free: 30.52 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00679/0.3297, allocations: 2.731 MB / 0.9358 GB, free: 27.73 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.068e-05/0.3298, allocations: 3.938 kB / 0.9358 GB, free: 27.72 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002687/0.3301, allocations: 67.98 kB / 0.9359 GB, free: 27.66 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000513/0.3306, allocations: 178.8 kB / 0.9361 GB, free: 27.48 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005792/0.3364, allocations: 2.284 MB / 0.9383 GB, free: 25.19 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01655/0.3531, allocations: 10.54 MB / 0.9486 GB, free: 13.77 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001363/0.3545, allocations: 0.5784 MB / 0.9491 GB, free: 13.18 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008109/0.3553, allocations: 384.6 kB / 0.9495 GB, free: 12.8 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001392/0.3555, allocations: 89.09 kB / 0.9496 GB, free: 12.7 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.331e-05/0.3556, allocations: 38.56 kB / 0.9496 GB, free: 12.65 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=36): time 3.847e-06/0.3556, allocations: 0 / 0.9496 GB, free: 12.65 MB / 0.6042 GB Notification: Performance of matching and sorting (n=52): time 0.02962/0.3852, allocations: 6.274 MB / 0.9558 GB, free: 6.312 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.064e-05/0.3854, allocations: 81.55 kB / 0.9558 GB, free: 6.215 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001774/0.3871, allocations: 0.9023 MB / 0.9567 GB, free: 5.301 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001632/0.3873, allocations: 29.7 kB / 0.9568 GB, free: 5.266 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006142/0.388, allocations: 0.7538 MB / 0.9575 GB, free: 4.5 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002457/0.3882, allocations: 197.3 kB / 0.9577 GB, free: 4.305 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.07e-05/0.3883, allocations: 16 kB / 0.9577 GB, free: 4.289 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001847/0.3885, allocations: 386.8 kB / 0.9581 GB, free: 3.902 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001423/0.3899, allocations: 0.6382 MB / 0.9587 GB, free: 3.262 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001641/0.3916, allocations: 1.011 MB / 0.9597 GB, free: 2.078 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001541/0.3932, allocations: 0.8102 MB / 0.9605 GB, free: 1.27 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.528e-06/0.3932, allocations: 4 kB / 0.9605 GB, free: 1.266 MB / 0.6042 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.01377/0.407, allocations: 3.209 MB / 0.9636 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005378/0.4076, allocations: 435.4 kB / 0.964 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.953e-05/0.4076, allocations: 12 kB / 0.964 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01154/0.4191, allocations: 1.86 MB / 0.9658 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001214/0.4204, allocations: 219.6 kB / 0.9661 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0172/0.4376, allocations: 10.22 MB / 0.976 GB, free: 0.5898 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001422/0.4391, allocations: 183.6 kB / 0.9762 GB, free: 420 kB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.484e-05/0.4392, allocations: 40 kB / 0.9762 GB, free: 380 kB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.959e-06/0.4392, allocations: 4 kB / 0.9763 GB, free: 376 kB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007096/0.4463, allocations: 2.622 MB / 0.9788 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.761e-05/0.4464, allocations: 8 kB / 0.9788 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00516/0.4516, allocations: 1.207 MB / 0.98 GB, free: 12.51 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001051/0.4527, allocations: 251.5 kB / 0.9802 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007886/0.4606, allocations: 5.535 MB / 0.9856 GB, free: 6.469 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001338/0.462, allocations: 151.8 kB / 0.9858 GB, free: 6.32 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.332e-05/0.4621, allocations: 48.17 kB / 0.9858 GB, free: 6.273 MB / 0.6355 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.001533/0.4636, allocations: 0.84 MB / 0.9867 GB, free: 5.422 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002029/0.4638, allocations: 79.08 kB / 0.9867 GB, free: 5.344 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008218/0.4721, allocations: 2.688 MB / 0.9894 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.438e-05/0.4721, allocations: 8 kB / 0.9894 GB, free: 2.613 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/0.4721, allocations: 4 kB / 0.9894 GB, free: 2.609 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.634e-05/0.4722, allocations: 0 / 0.9894 GB, free: 2.609 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01142/0.4836, allocations: 4.636 MB / 0.9939 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.488e-05/0.4837, allocations: 0 / 0.9939 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004731/0.4841, allocations: 104.1 kB / 0.994 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007252/0.4914, allocations: 1.704 MB / 0.9957 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001341/0.4916, allocations: 16 kB / 0.9957 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0125/0.5041, allocations: 9.758 MB / 1.005 GB, free: 1.723 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.634e-06/0.5042, allocations: 11.97 kB / 1.005 GB, free: 1.711 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007993/0.5122, allocations: 2.64 MB / 1.008 GB, free: 15.02 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007267/0.5129, allocations: 284.1 kB / 1.008 GB, free: 14.72 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001147/0.5131, allocations: 15.98 kB / 1.008 GB, free: 14.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008053/0.5139, allocations: 131.8 kB / 1.008 GB, free: 14.57 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002315/0.5141, allocations: 47.89 kB / 1.008 GB, free: 14.53 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.746e-05/0.5142, allocations: 16 kB / 1.008 GB, free: 14.51 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0009923/0.5152, allocations: 0.6395 MB / 1.009 GB, free: 13.88 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5152, allocations: 0 / 1.009 GB, free: 13.88 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002135/0.5173, allocations: 0.5898 MB / 1.009 GB, free: 13.29 MB / 0.6667 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003028/0.5177, allocations: 127.1 kB / 1.01 GB, free: 13.16 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.005627/0.5233, allocations: 3.227 MB / 1.013 GB, free: 9.852 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/0.5233, allocations: 8.297 kB / 1.013 GB, free: 9.844 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001951/0.5253, allocations: 1.268 MB / 1.014 GB, free: 8.523 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001232/0.5265, allocations: 234.6 kB / 1.014 GB, free: 8.297 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005615/0.5322, allocations: 3.743 MB / 1.018 GB, free: 4.496 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001399/0.5336, allocations: 1.63 MB / 1.019 GB, free: 2.836 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002817/0.5339, allocations: 63.42 kB / 1.02 GB, free: 2.773 MB / 0.6667 GB Notification: Performance of SimCode: time 1.172e-06/0.5339, allocations: 0 / 1.02 GB, free: 2.773 MB / 0.6667 GB Notification: Performance of Templates: time 0.4674/1.001, allocations: 57.63 MB / 1.076 GB, free: 134.9 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)