Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001624/0.001624, allocations: 109.1 kB / 16.41 MB, free: 6.438 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.001678/0.001678, allocations: 191.2 kB / 17.34 MB, free: 5.742 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.413/1.413, allocations: 222.9 MB / 241 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.0025/0.0025, allocations: 295.8 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9653/0.9653, allocations: 169.3 MB / 0.499 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001793/0.001793, allocations: 96.28 kB / 0.6821 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4365/0.4383, allocations: 86.97 MB / 0.7671 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03278/0.4711, allocations: 30.75 MB / 0.7971 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02039/0.4916, allocations: 13.59 MB / 0.8104 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00343/0.495, allocations: 143.2 kB / 0.8105 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.008181/0.5032, allocations: 3.207 MB / 0.8136 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00856/0.5118, allocations: 2.657 MB / 0.8162 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005646/0.5175, allocations: 2.01 MB / 0.8182 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01011/0.5276, allocations: 7.631 MB / 0.8256 GB, free: 7.766 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01015/0.5378, allocations: 8.221 MB / 0.8337 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006149/0.544, allocations: 3.463 MB / 0.837 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005899/0.5499, allocations: 3.387 MB / 0.8404 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001256/0.5512, allocations: 0.6016 MB / 0.8409 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003291/0.5545, allocations: 1.486 MB / 0.8424 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.002407/0.5569, allocations: 2.378 MB / 0.8447 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.004184/0.5611, allocations: 2.875 MB / 0.8475 GB, free: 1.195 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.009967/0.5711, allocations: 9.461 MB / 0.8568 GB, free: 7.707 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.5711, allocations: 0 / 0.8568 GB, free: 7.707 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5711, allocations: 4 kB / 0.8568 GB, free: 7.703 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0002362/0.5714, allocations: 0 / 0.8568 GB, free: 7.703 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01085/0.5822, allocations: 5.144 MB / 0.8618 GB, free: 2.48 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.5823, allocations: 8.031 kB / 0.8618 GB, free: 2.473 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006184/0.5885, allocations: 1.002 MB / 0.8628 GB, free: 1.465 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007288/0.5958, allocations: 3.071 MB / 0.8658 GB, free: 14.31 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002385/0.5961, allocations: 320.8 kB / 0.8661 GB, free: 13.99 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001158/0.5972, allocations: 428 kB / 0.8665 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01164/0.6089, allocations: 6.78 MB / 0.8731 GB, free: 6.5 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001026/0.609, allocations: 19.88 kB / 0.8731 GB, free: 6.48 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004446/0.6095, allocations: 184 kB / 0.8733 GB, free: 6.301 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008788/0.6104, allocations: 372 kB / 0.8737 GB, free: 5.934 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009283/0.6197, allocations: 5.122 MB / 0.8787 GB, free: 0.793 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03382/0.6535, allocations: 30.52 MB / 0.9085 GB, free: 15.51 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002072/0.6556, allocations: 1.383 MB / 0.9098 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001644/0.6573, allocations: 1.338 MB / 0.9111 GB, free: 12.79 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 7.681e-05/0.6574, allocations: 13.31 kB / 0.9111 GB, free: 12.77 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.366e-05/0.6574, allocations: 55.8 kB / 0.9112 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=130): time 2.996e-06/0.6574, allocations: 0 / 0.9112 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of matching and sorting (n=199): time 0.08706/0.7445, allocations: 23.08 MB / 0.9337 GB, free: 5.504 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.031e-05/0.7446, allocations: 77.34 kB / 0.9338 GB, free: 5.414 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002777/0.7474, allocations: 2.062 MB / 0.9358 GB, free: 3.336 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0002702/0.7477, allocations: 65.69 kB / 0.9359 GB, free: 3.266 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001295/0.749, allocations: 2.002 MB / 0.9378 GB, free: 1.238 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006582/0.7496, allocations: 0.6855 MB / 0.9385 GB, free: 0.543 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006813/0.7503, allocations: 404.2 kB / 0.9389 GB, free: 144 kB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.7504, allocations: 305.1 kB / 0.9392 GB, free: 15.84 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001994/0.7524, allocations: 1.433 MB / 0.9406 GB, free: 14.4 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002374/0.7548, allocations: 2.013 MB / 0.9425 GB, free: 12.14 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004544/0.7594, allocations: 3.692 MB / 0.9461 GB, free: 8.211 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.068e-05/0.7594, allocations: 8 kB / 0.9462 GB, free: 8.203 MB / 0.7169 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01077/0.7702, allocations: 5.657 MB / 0.9517 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.242e-05/0.7702, allocations: 12 kB / 0.9517 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.292e-05/0.7703, allocations: 20 kB / 0.9517 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006637/0.7769, allocations: 2.088 MB / 0.9537 GB, free: 312 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001553/0.7785, allocations: 371.4 kB / 0.9541 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.372/1.151, allocations: 38.43 MB / 0.9916 GB, free: 164 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002437/1.153, allocations: 132.4 kB / 0.9918 GB, free: 163.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001903/1.153, allocations: 91.19 kB / 0.9918 GB, free: 163.9 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002132/1.155, allocations: 1.504 MB / 0.9933 GB, free: 163.2 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004978/1.156, allocations: 280.1 kB / 0.9936 GB, free: 163.2 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00879/1.165, allocations: 5.211 MB / 0.9987 GB, free: 161.1 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.367e-05/1.165, allocations: 20.84 kB / 0.9987 GB, free: 161.1 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.229e-05/1.165, allocations: 28.02 kB / 0.9987 GB, free: 161 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.149e-05/1.165, allocations: 7.453 kB / 0.9987 GB, free: 161 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01389/1.179, allocations: 9.673 MB / 1.008 GB, free: 157.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.12e-05/1.179, allocations: 7.781 kB / 1.008 GB, free: 157.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007644/1.179, allocations: 218.3 kB / 1.008 GB, free: 157.1 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00499/1.184, allocations: 1.84 MB / 1.01 GB, free: 156.5 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001474/1.185, allocations: 36.69 kB / 1.01 GB, free: 156.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02643/1.211, allocations: 37.44 MB / 1.047 GB, free: 117.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/1.211, allocations: 11.94 kB / 1.047 GB, free: 117.6 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007438/1.219, allocations: 4.915 MB / 1.052 GB, free: 112.6 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001207/1.22, allocations: 0.616 MB / 1.052 GB, free: 111.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000386/1.22, allocations: 45.17 kB / 1.052 GB, free: 111.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001391/1.222, allocations: 127.8 kB / 1.052 GB, free: 111.8 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005384/1.222, allocations: 201.5 kB / 1.053 GB, free: 111.6 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001125/1.222, allocations: 60 kB / 1.053 GB, free: 111.5 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001455/1.224, allocations: 1.374 MB / 1.054 GB, free: 110.1 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/1.224, allocations: 0 / 1.054 GB, free: 110.1 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002914/1.227, allocations: 1.047 MB / 1.055 GB, free: 109.1 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002681/1.227, allocations: 170.4 kB / 1.055 GB, free: 108.9 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.007847/1.235, allocations: 6.293 MB / 1.061 GB, free: 102.4 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.03e-05/1.235, allocations: 4 kB / 1.061 GB, free: 102.4 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.005255/1.24, allocations: 4.389 MB / 1.066 GB, free: 97.8 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003729/1.244, allocations: 0.9961 MB / 1.067 GB, free: 96.88 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01106/1.255, allocations: 8.597 MB / 1.075 GB, free: 88.26 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00249/1.257, allocations: 3.186 MB / 1.078 GB, free: 85.04 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000579/1.258, allocations: 163.4 kB / 1.078 GB, free: 84.88 MB / 0.7325 GB Notification: Performance of SimCode: time 7.12e-07/1.258, allocations: 0 / 1.078 GB, free: 84.88 MB / 0.7325 GB Notification: Performance of Templates: time 0.6242/1.882, allocations: 465 MB / 1.532 GB, free: 96.49 MB / 0.8731 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1)