Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001172/0.001172, allocations: 110 kB / 16.42 MB, free: 6.512 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.001232/0.001232, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.346/1.346, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002166/0.002166, allocations: 285.5 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9507/0.9507, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001847/0.001847, allocations: 99.84 kB / 0.6821 GB, free: 6.992 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4356/0.4374, allocations: 86.97 MB / 0.7671 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.015/0.4525, allocations: 11.84 MB / 0.7786 GB, free: 8.074 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008965/0.4615, allocations: 5.333 MB / 0.7838 GB, free: 2.727 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00105/0.4626, allocations: 39.88 kB / 0.7839 GB, free: 2.688 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002996/0.4656, allocations: 1.04 MB / 0.7849 GB, free: 1.645 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001711/0.4673, allocations: 0.6257 MB / 0.7855 GB, free: 1.016 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002261/0.4696, allocations: 0.9221 MB / 0.7864 GB, free: 96 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002772/0.4724, allocations: 2.466 MB / 0.7888 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004062/0.4764, allocations: 3.517 MB / 0.7922 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001705/0.4782, allocations: 1.114 MB / 0.7933 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001946/0.4801, allocations: 1.211 MB / 0.7945 GB, free: 7.73 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0005685/0.4807, allocations: 232 kB / 0.7947 GB, free: 7.504 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001293/0.482, allocations: 0.4993 MB / 0.7952 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001174/0.4832, allocations: 0.8967 MB / 0.7961 GB, free: 6.109 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001566/0.4848, allocations: 1 MB / 0.7971 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003297/0.4881, allocations: 3.537 MB / 0.8005 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.4881, allocations: 3.938 kB / 0.8005 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.302e-06/0.4881, allocations: 4 kB / 0.8005 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.656e-05/0.4881, allocations: 0 / 0.8005 GB, free: 1.551 MB / 0.5606 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.00324/0.4914, allocations: 1.933 MB / 0.8024 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.4914, allocations: 8.031 kB / 0.8024 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002182/0.4936, allocations: 458.4 kB / 0.8029 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001737/0.4954, allocations: 1.124 MB / 0.804 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.099e-05/0.4954, allocations: 115.5 kB / 0.8041 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002477/0.4957, allocations: 152.1 kB / 0.8042 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004067/0.4998, allocations: 2.731 MB / 0.8069 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.783e-05/0.4998, allocations: 7.938 kB / 0.8069 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001772/0.5, allocations: 64 kB / 0.807 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002934/0.5003, allocations: 143 kB / 0.8071 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003444/0.5038, allocations: 2.272 MB / 0.8093 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.011/0.5148, allocations: 10.35 MB / 0.8194 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000929/0.5157, allocations: 0.5694 MB / 0.82 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005598/0.5163, allocations: 380.5 kB / 0.8203 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001112/0.5164, allocations: 93.08 kB / 0.8204 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.911e-05/0.5165, allocations: 42.5 kB / 0.8205 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=36): time 2.505e-06/0.5165, allocations: 0 / 0.8205 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of matching and sorting (n=52): time 0.01906/0.5356, allocations: 5.545 MB / 0.8259 GB, free: 6.438 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.018e-05/0.5356, allocations: 55.84 kB / 0.8259 GB, free: 6.371 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001123/0.5368, allocations: 0.8866 MB / 0.8268 GB, free: 5.473 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.962e-05/0.5368, allocations: 33.7 kB / 0.8268 GB, free: 5.434 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004603/0.5373, allocations: 0.7538 MB / 0.8276 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001657/0.5375, allocations: 189.5 kB / 0.8278 GB, free: 4.48 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000312/0.5378, allocations: 190.4 kB / 0.8279 GB, free: 4.289 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001704/0.538, allocations: 390.8 kB / 0.8283 GB, free: 3.898 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009321/0.5389, allocations: 0.6215 MB / 0.8289 GB, free: 3.273 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001288/0.5402, allocations: 0.9825 MB / 0.8299 GB, free: 2.125 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002209/0.5424, allocations: 1.619 MB / 0.8315 GB, free: 360 kB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.5424, allocations: 8 kB / 0.8315 GB, free: 352 kB / 0.5919 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.008434/0.5509, allocations: 3.077 MB / 0.8345 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.388e-05/0.551, allocations: 12 kB / 0.8345 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.711e-05/0.551, allocations: 15.98 kB / 0.8345 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007132/0.5581, allocations: 1.646 MB / 0.8361 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009377/0.5591, allocations: 219.6 kB / 0.8363 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01588/0.575, allocations: 10.57 MB / 0.8466 GB, free: 228 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001459/0.5765, allocations: 159.6 kB / 0.8468 GB, free: 68 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001852/0.5767, allocations: 44.06 kB / 0.8468 GB, free: 24 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002697/0.5794, allocations: 1.289 MB / 0.8481 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001279/0.5807, allocations: 0.9552 MB / 0.849 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002217/0.5829, allocations: 1.564 MB / 0.8505 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.216e-05/0.583, allocations: 4 kB / 0.8505 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of matching and sorting (n=111) (initialization_lambda0): time 0.007304/0.5903, allocations: 2.611 MB / 0.8531 GB, free: 9.254 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.5903, allocations: 8 kB / 0.8531 GB, free: 9.246 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.371e-05/0.5903, allocations: 16.06 kB / 0.8531 GB, free: 9.23 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004574/0.5949, allocations: 1.063 MB / 0.8542 GB, free: 8.16 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008762/0.5958, allocations: 247.6 kB / 0.8544 GB, free: 7.918 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007577/0.6034, allocations: 5.736 MB / 0.86 GB, free: 1.902 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001189/0.6046, allocations: 159.7 kB / 0.8601 GB, free: 1.746 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001087/0.6047, allocations: 40 kB / 0.8602 GB, free: 1.707 MB / 0.6231 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 (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.0003678/0.6051, allocations: 243.9 kB / 0.8604 GB, free: 1.461 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000264/0.6054, allocations: 79.09 kB / 0.8605 GB, free: 1.383 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007677/0.6131, allocations: 2.532 MB / 0.863 GB, free: 14.83 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/0.6131, allocations: 3.984 kB / 0.863 GB, free: 14.83 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.319e-05/0.6131, allocations: 8 kB / 0.863 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005071/0.6136, allocations: 264.1 kB / 0.8632 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002035/0.6138, allocations: 11.98 kB / 0.8632 GB, free: 14.53 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008488/0.6147, allocations: 111.8 kB / 0.8633 GB, free: 14.42 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002055/0.6149, allocations: 44.36 kB / 0.8634 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005329/0.6202, allocations: 2.103 MB / 0.8654 GB, free: 12.26 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0025/0.6227, allocations: 1.786 MB / 0.8672 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007795/0.6235, allocations: 0.542 MB / 0.8677 GB, free: 9.914 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0009293/0.6245, allocations: 0.6317 MB / 0.8683 GB, free: 9.285 MB / 0.6387 GB Notification: Performance of Backend: time 3.9e-07/0.6245, allocations: 4 kB / 0.8683 GB, free: 9.281 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.005358/0.6299, allocations: 2.848 MB / 0.8711 GB, free: 6.348 MB / 0.6387 GB Notification: Performance of SimCode: time 0.005621/0.6355, allocations: 3.293 MB / 0.8743 GB, free: 3.008 MB / 0.6387 GB Notification: Performance of Templates: time 0.04227/0.6778, allocations: 27.86 MB / 0.9015 GB, free: 7.336 MB / 0.67 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)