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.006703/0.006703, allocations: 101.2 kB / 15.73 MB, free: 5.508 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.001481/0.001481, allocations: 195.6 kB / 16.67 MB, free: 5.438 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.347/1.347, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002105/0.002105, allocations: 282.9 kB / 290.8 MB, free: 1.902 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9359/0.9359, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001693/0.001693, allocations: 99.84 kB / 0.6815 GB, free: 15.44 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1552, allocations: 86.97 MB / 0.7664 GB, free: 8.387 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.3543/0.5096, allocations: 33.31 MB / 0.7989 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02542/0.535, allocations: 14.82 MB / 0.8134 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004312/0.5394, allocations: 152.7 kB / 0.8135 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00991/0.5493, allocations: 3.663 MB / 0.8171 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009926/0.5592, allocations: 2.886 MB / 0.8199 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006691/0.5659, allocations: 2.329 MB / 0.8222 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01243/0.5784, allocations: 8.806 MB / 0.8308 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01475/0.5931, allocations: 9.586 MB / 0.8402 GB, free: 4.391 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007827/0.601, allocations: 3.948 MB / 0.844 GB, free: 2.199 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007602/0.6086, allocations: 4.037 MB / 0.848 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.00224/0.6109, allocations: 0.7156 MB / 0.8487 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005969/0.6169, allocations: 1.716 MB / 0.8503 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.004813/0.6217, allocations: 2.826 MB / 0.8531 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.007238/0.6289, allocations: 3.392 MB / 0.8564 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01231/0.6413, allocations: 11.22 MB / 0.8674 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.6413, allocations: 4 kB / 0.8674 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6413, allocations: 3.938 kB / 0.8674 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0002265/0.6415, allocations: 4 kB / 0.8674 GB, free: 12.45 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: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01112/0.6527, allocations: 6.136 MB / 0.8734 GB, free: 6.227 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.6527, allocations: 8.031 kB / 0.8734 GB, free: 6.219 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006359/0.6591, allocations: 1.168 MB / 0.8745 GB, free: 5.047 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00621/0.6653, allocations: 3.538 MB / 0.878 GB, free: 1.434 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002589/0.6656, allocations: 378.4 kB / 0.8783 GB, free: 1.062 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000819/0.6664, allocations: 0.4922 MB / 0.8788 GB, free: 0.5703 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01359/0.68, allocations: 8.005 MB / 0.8866 GB, free: 8.289 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001319/0.6802, allocations: 23.78 kB / 0.8867 GB, free: 8.266 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005143/0.6807, allocations: 220 kB / 0.8869 GB, free: 8.051 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001002/0.6817, allocations: 441.5 kB / 0.8873 GB, free: 7.617 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009896/0.6916, allocations: 6.077 MB / 0.8932 GB, free: 1.527 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03347/0.7251, allocations: 34.96 MB / 0.9274 GB, free: 11.39 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002549/0.7277, allocations: 2.034 MB / 0.9294 GB, free: 9.352 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002324/0.73, allocations: 1.877 MB / 0.9312 GB, free: 7.484 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001175/0.7301, allocations: 18 kB / 0.9312 GB, free: 7.465 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.26e-05/0.7302, allocations: 64.5 kB / 0.9313 GB, free: 7.395 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=171): time 3.126e-06/0.7302, allocations: 0 / 0.9313 GB, free: 7.395 MB / 0.6856 GB Notification: Performance of matching and sorting (n=276): time 0.1489/0.8792, allocations: 38.96 MB / 0.9693 GB, free: 340 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.548e-05/0.8792, allocations: 81.58 kB / 0.9694 GB, free: 244 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003084/0.8823, allocations: 2.278 MB / 0.9716 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002965/0.8826, allocations: 73.7 kB / 0.9717 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001502/0.8842, allocations: 2.338 MB / 0.974 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008095/0.885, allocations: 0.9838 MB / 0.9749 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009139/0.8859, allocations: 0.5064 MB / 0.9754 GB, free: 10 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.886, allocations: 305.1 kB / 0.9757 GB, free: 9.699 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002737/0.8887, allocations: 1.977 MB / 0.9776 GB, free: 7.719 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003159/0.8919, allocations: 2.602 MB / 0.9802 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006208/0.8981, allocations: 4.929 MB / 0.985 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.428e-06/0.8982, allocations: 8 kB / 0.985 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01396/0.9121, allocations: 7.767 MB / 0.9926 GB, free: 7.82 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.15e-05/0.9122, allocations: 12 kB / 0.9926 GB, free: 7.809 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.448e-05/0.9122, allocations: 16 kB / 0.9926 GB, free: 7.793 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009001/0.9212, allocations: 3.208 MB / 0.9958 GB, free: 4.57 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001643/0.9229, allocations: 403.3 kB / 0.9961 GB, free: 4.176 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04244/0.9654, allocations: 33.92 MB / 1.029 GB, free: 1.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002788/0.9682, allocations: 163.8 kB / 1.029 GB, free: 1.25 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002534/0.9684, allocations: 108 kB / 1.03 GB, free: 1.145 MB / 0.7794 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.002722/0.9712, allocations: 1.802 MB / 1.031 GB, free: 15.33 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005845/0.9718, allocations: 349.8 kB / 1.032 GB, free: 14.99 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01376/0.9855, allocations: 7.353 MB / 1.039 GB, free: 7.555 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.721e-05/0.9856, allocations: 28 kB / 1.039 GB, free: 7.527 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-05/0.9857, allocations: 32 kB / 1.039 GB, free: 7.496 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.141e-05/0.9857, allocations: 11.95 kB / 1.039 GB, free: 7.484 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0205/1.006, allocations: 12.93 MB / 1.051 GB, free: 10.39 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.341e-05/1.006, allocations: 11.98 kB / 1.051 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008355/1.007, allocations: 231.7 kB / 1.052 GB, free: 10.15 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007562/1.015, allocations: 2.845 MB / 1.054 GB, free: 7.285 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001764/1.015, allocations: 63.94 kB / 1.055 GB, free: 7.223 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04032/1.055, allocations: 32.69 MB / 1.086 GB, free: 5.672 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.386e-06/1.055, allocations: 15.94 kB / 1.087 GB, free: 5.656 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3455/1.401, allocations: 6.893 MB / 1.093 GB, free: 264.5 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001994/1.403, allocations: 0.7907 MB / 1.094 GB, free: 264.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000527/1.403, allocations: 56.03 kB / 1.094 GB, free: 264.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001861/1.405, allocations: 168.4 kB / 1.094 GB, free: 264.4 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001/1.406, allocations: 255.8 kB / 1.094 GB, free: 264.4 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002028/1.406, allocations: 76.19 kB / 1.095 GB, free: 264.4 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.002424/1.409, allocations: 1.529 MB / 1.096 GB, free: 264.2 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.31e-07/1.409, allocations: 1.281 kB / 1.096 GB, free: 264.2 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.004828/1.414, allocations: 1.368 MB / 1.097 GB, free: 264.2 MB / 0.8419 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 (105): * Single equations (assignments): 99 * 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 {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004438/1.414, allocations: 176.8 kB / 1.098 GB, free: 264.1 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.01124/1.425, allocations: 6.949 MB / 1.104 GB, free: 263.1 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-05/1.425, allocations: 7.094 kB / 1.104 GB, free: 263.1 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.007558/1.433, allocations: 4.419 MB / 1.109 GB, free: 261.5 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004922/1.438, allocations: 1.125 MB / 1.11 GB, free: 261.2 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01822/1.456, allocations: 10.25 MB / 1.12 GB, free: 256.6 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005094/1.461, allocations: 3.637 MB / 1.123 GB, free: 255.3 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.002306/1.464, allocations: 0.5624 MB / 1.124 GB, free: 255.3 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004176/1.464, allocations: 158.2 kB / 1.124 GB, free: 255.3 MB / 0.8419 GB Notification: Performance of SimCode: time 9.81e-07/1.464, allocations: 0 / 1.124 GB, free: 255.3 MB / 0.8419 GB Notification: Performance of Templates: time 0.09703/1.561, allocations: 76.15 MB / 1.198 GB, free: 205.5 MB / 0.8419 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)