Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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/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.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 115.2 kB / 16.42 MB, free: 6.449 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.001314/0.001314, allocations: 183.9 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.356/1.356, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002559/0.002559, allocations: 288.7 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.9427/0.9427, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002165/0.002165, allocations: 95.86 kB / 0.6821 GB, free: 6.914 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5948/0.597, allocations: 86.99 MB / 0.7671 GB, free: 4.043 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03682/0.6338, allocations: 33.32 MB / 0.7996 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02668/0.6606, allocations: 14.82 MB / 0.8141 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004884/0.6655, allocations: 151.2 kB / 0.8142 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01017/0.6757, allocations: 3.655 MB / 0.8178 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00927/0.685, allocations: 2.887 MB / 0.8206 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006514/0.6915, allocations: 2.334 MB / 0.8229 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01255/0.7041, allocations: 8.81 MB / 0.8315 GB, free: 1.867 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01325/0.7174, allocations: 9.585 MB / 0.8409 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007178/0.7246, allocations: 4.016 MB / 0.8448 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007503/0.7321, allocations: 4.038 MB / 0.8487 GB, free: 88 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.002195/0.7343, allocations: 0.7188 MB / 0.8494 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004874/0.7392, allocations: 1.716 MB / 0.8511 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.004015/0.7432, allocations: 2.826 MB / 0.8539 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.007002/0.7503, allocations: 3.396 MB / 0.8572 GB, free: 7.406 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01605/0.7663, allocations: 11.18 MB / 0.8681 GB, free: 12.19 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.7664, allocations: 4 kB / 0.8681 GB, free: 12.19 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.064e-06/0.7664, allocations: 0 / 0.8681 GB, free: 12.19 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0003449/0.7667, allocations: 0 / 0.8681 GB, free: 12.19 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01625/0.783, allocations: 5.983 MB / 0.8739 GB, free: 6.125 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.7831, allocations: 12.03 kB / 0.874 GB, free: 6.113 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007888/0.791, allocations: 1.138 MB / 0.8751 GB, free: 4.969 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008322/0.7993, allocations: 3.516 MB / 0.8785 GB, free: 1.375 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003534/0.7997, allocations: 374.4 kB / 0.8789 GB, free: 1.008 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001903/0.8016, allocations: 500 kB / 0.8793 GB, free: 0.5195 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01857/0.8202, allocations: 7.997 MB / 0.8871 GB, free: 8.246 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002181/0.8205, allocations: 31.67 kB / 0.8872 GB, free: 8.215 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001567/0.822, allocations: 224 kB / 0.8874 GB, free: 7.996 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001262/0.8233, allocations: 437.6 kB / 0.8878 GB, free: 7.566 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01469/0.838, allocations: 6.077 MB / 0.8937 GB, free: 1.477 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04843/0.8865, allocations: 34.89 MB / 0.9278 GB, free: 11.39 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003146/0.8897, allocations: 2.03 MB / 0.9298 GB, free: 9.355 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00279/0.8925, allocations: 1.873 MB / 0.9316 GB, free: 7.492 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001701/0.8927, allocations: 22 kB / 0.9316 GB, free: 7.469 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.713e-05/0.8927, allocations: 56.5 kB / 0.9317 GB, free: 7.406 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=171): time 4.299e-06/0.8928, allocations: 0 / 0.9317 GB, free: 7.406 MB / 0.7012 GB Notification: Performance of matching and sorting (n=276): time 0.1533/1.046, allocations: 38.89 MB / 0.9697 GB, free: 420 kB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.729e-05/1.046, allocations: 81.58 kB / 0.9698 GB, free: 324 kB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4512/1.497, allocations: 2.278 MB / 0.972 GB, free: 184.1 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.000525/1.498, allocations: 73.61 kB / 0.972 GB, free: 184 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001727/1.5, allocations: 2.278 MB / 0.9743 GB, free: 183 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001016/1.501, allocations: 0.9379 MB / 0.9752 GB, free: 182.4 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001013/1.502, allocations: 0.5056 MB / 0.9757 GB, free: 182.1 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 5.022e-05/1.502, allocations: 303.9 kB / 0.976 GB, free: 181.9 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002991/1.505, allocations: 1.97 MB / 0.9779 GB, free: 181.1 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003062/1.508, allocations: 2.6 MB / 0.9804 GB, free: 179.6 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005567/1.513, allocations: 4.944 MB / 0.9853 GB, free: 176.9 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.24e-05/1.513, allocations: 6.594 kB / 0.9853 GB, free: 176.9 MB / 0.7325 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01291/1.526, allocations: 7.753 MB / 0.9928 GB, free: 173.9 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.5e-05/1.526, allocations: 15.12 kB / 0.9929 GB, free: 173.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.413e-05/1.526, allocations: 15.38 kB / 0.9929 GB, free: 173.9 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008208/1.535, allocations: 3.22 MB / 0.996 GB, free: 173.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001657/1.536, allocations: 400 kB / 0.9964 GB, free: 173.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03538/1.572, allocations: 33.85 MB / 1.029 GB, free: 141.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00327/1.575, allocations: 163.8 kB / 1.03 GB, free: 141.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002712/1.575, allocations: 108 kB / 1.03 GB, free: 141 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002988/1.578, allocations: 1.801 MB / 1.031 GB, free: 139.2 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007717/1.579, allocations: 332.1 kB / 1.032 GB, free: 138.9 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01182/1.591, allocations: 7.36 MB / 1.039 GB, free: 131.5 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.674e-05/1.591, allocations: 14.69 kB / 1.039 GB, free: 131.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/1.591, allocations: 3.938 kB / 1.039 GB, free: 131.4 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001824/1.593, allocations: 0.8094 MB / 1.04 GB, free: 130.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005936/1.594, allocations: 48 kB / 1.04 GB, free: 130.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001824/1.595, allocations: 127.8 kB / 1.04 GB, free: 130.4 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005676/1.596, allocations: 334.7 kB / 1.04 GB, free: 130.1 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01489/1.611, allocations: 7.96 MB / 1.048 GB, free: 122.2 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007283/1.618, allocations: 6.97 MB / 1.055 GB, free: 115.1 MB / 0.7325 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002126/1.62, allocations: 2.273 MB / 1.057 GB, free: 112.8 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001816/1.622, allocations: 1.525 MB / 1.059 GB, free: 111.3 MB / 0.7325 GB Notification: Performance of Backend: time 6.21e-07/1.622, allocations: 0 / 1.059 GB, free: 111.3 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0106/1.633, allocations: 5.901 MB / 1.064 GB, free: 105.4 MB / 0.7325 GB Notification: Performance of SimCode: time 0.01619/1.649, allocations: 11.25 MB / 1.075 GB, free: 94.23 MB / 0.7325 GB Notification: Performance of Templates: time 0.1076/1.757, allocations: 79.93 MB / 1.153 GB, free: 15.42 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1)