Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.00108/0.00108, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.378/1.378, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00219/0.00219, allocations: 288.6 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9618/0.9618, allocations: 169.3 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001765/0.001765, allocations: 91.84 kB / 0.6821 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5566/0.5584, allocations: 86.98 MB / 0.7671 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.007982/0.5664, allocations: 6.155 MB / 0.7731 GB, free: 13.76 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005593/0.572, allocations: 3.161 MB / 0.7761 GB, free: 10.59 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005244/0.5726, allocations: 31.81 kB / 0.7762 GB, free: 10.55 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002572/0.5752, allocations: 0.9414 MB / 0.7771 GB, free: 9.609 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001182/0.5764, allocations: 469.5 kB / 0.7775 GB, free: 9.148 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001275/0.5777, allocations: 0.4994 MB / 0.778 GB, free: 8.652 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001324/0.579, allocations: 1.1 MB / 0.7791 GB, free: 7.547 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009562/0.58, allocations: 0.6269 MB / 0.7797 GB, free: 6.922 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006237/0.5806, allocations: 454.2 kB / 0.7802 GB, free: 6.477 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006116/0.5812, allocations: 478.2 kB / 0.7806 GB, free: 6.008 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001013/0.5813, allocations: 56 kB / 0.7807 GB, free: 5.953 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000916/0.5822, allocations: 479 kB / 0.7811 GB, free: 5.484 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002757/0.5825, allocations: 295.2 kB / 0.7814 GB, free: 5.195 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004124/0.583, allocations: 401.9 kB / 0.7818 GB, free: 4.801 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001349/0.5843, allocations: 1.182 MB / 0.7829 GB, free: 3.617 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.5843, allocations: 0 / 0.7829 GB, free: 3.617 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.964e-06/0.5843, allocations: 4 kB / 0.7829 GB, free: 3.613 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.193e-05/0.5844, allocations: 0 / 0.7829 GB, free: 3.613 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001673/0.586, allocations: 1.063 MB / 0.784 GB, free: 2.496 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.5861, allocations: 12.03 kB / 0.784 GB, free: 2.484 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001484/0.5876, allocations: 215.7 kB / 0.7842 GB, free: 2.273 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008849/0.5885, allocations: 0.596 MB / 0.7848 GB, free: 1.641 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.387e-05/0.5885, allocations: 45.67 kB / 0.7848 GB, free: 1.598 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/0.5886, allocations: 60.38 kB / 0.7849 GB, free: 1.539 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001404/0.59, allocations: 1.038 MB / 0.7859 GB, free: 404 kB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.009e-05/0.5901, allocations: 7.844 kB / 0.7859 GB, free: 396 kB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.091e-05/0.5902, allocations: 35.98 kB / 0.7859 GB, free: 360 kB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.898e-05/0.5902, allocations: 65.27 kB / 0.786 GB, free: 296 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001009/0.5913, allocations: 0.6957 MB / 0.7867 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005451/0.5967, allocations: 5.725 MB / 0.7923 GB, free: 9.434 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008651/0.5976, allocations: 0.5966 MB / 0.7929 GB, free: 8.793 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008864/0.5985, allocations: 436.6 kB / 0.7933 GB, free: 8.363 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.9e-05/0.5986, allocations: 7.984 kB / 0.7933 GB, free: 8.355 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.507e-05/0.5986, allocations: 38.5 kB / 0.7933 GB, free: 8.309 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=41): time 2.334e-06/0.5986, allocations: 4 kB / 0.7933 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of matching and sorting (n=42): time 0.004302/0.6029, allocations: 2.023 MB / 0.7953 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/0.603, allocations: 55.41 kB / 0.7953 GB, free: 6.121 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004793/0.6035, allocations: 466.7 kB / 0.7958 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.612e-05/0.6035, allocations: 33.7 kB / 0.7958 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002438/0.6037, allocations: 387 kB / 0.7962 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001172/0.6039, allocations: 153.8 kB / 0.7963 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001506/0.604, allocations: 106.2 kB / 0.7964 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.6042, allocations: 366.8 kB / 0.7968 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003464/0.6045, allocations: 245.2 kB / 0.797 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004964/0.605, allocations: 449 kB / 0.7975 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009129/0.606, allocations: 0.7526 MB / 0.7982 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.606, allocations: 0 / 0.7982 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001751/0.6077, allocations: 1.035 MB / 0.7992 GB, free: 1.93 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/0.6078, allocations: 16.02 kB / 0.7992 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.6078, allocations: 8 kB / 0.7992 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001014/0.6088, allocations: 319 kB / 0.7995 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00031/0.6091, allocations: 91.88 kB / 0.7996 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007221/0.6164, allocations: 7.473 MB / 0.8069 GB, free: 9.453 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004142/0.6168, allocations: 27.98 kB / 0.8069 GB, free: 9.426 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.811e-05/0.6168, allocations: 24 kB / 0.807 GB, free: 9.402 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * 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): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003451/0.6172, allocations: 245.6 kB / 0.8072 GB, free: 9.152 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.815e-05/0.6173, allocations: 63.41 kB / 0.8073 GB, free: 9.09 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001713/0.619, allocations: 0.8965 MB / 0.8081 GB, free: 8.168 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.619, allocations: 4 kB / 0.8081 GB, free: 8.164 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.619, allocations: 4.188 kB / 0.8081 GB, free: 8.16 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.619, allocations: 4 kB / 0.8081 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00248/0.6215, allocations: 1.697 MB / 0.8098 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.6215, allocations: 0 / 0.8098 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001663/0.6217, allocations: 47.91 kB / 0.8098 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008673/0.6226, allocations: 303.3 kB / 0.8101 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.791e-05/0.6226, allocations: 12 kB / 0.8101 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00683/0.6295, allocations: 7.458 MB / 0.8174 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.97e-06/0.6295, allocations: 7.969 kB / 0.8174 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001621/0.6311, allocations: 0.9875 MB / 0.8184 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002343/0.6314, allocations: 184.3 kB / 0.8186 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.88e-05/0.6315, allocations: 8 kB / 0.8186 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000281/0.6317, allocations: 23.97 kB / 0.8186 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.1e-05/0.6318, allocations: 43.83 kB / 0.8186 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.671e-05/0.6319, allocations: 16 kB / 0.8187 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003301/0.6322, allocations: 310.9 kB / 0.819 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6322, allocations: 0 / 0.819 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007406/0.633, allocations: 192 kB / 0.8191 GB, free: 12.16 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * 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): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,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.0001745/0.6331, allocations: 115.2 kB / 0.8193 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001859/0.635, allocations: 1.183 MB / 0.8204 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.635, allocations: 3.938 kB / 0.8204 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001187/0.6362, allocations: 0.8582 MB / 0.8212 GB, free: 9.891 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/0.6373, allocations: 214.3 kB / 0.8215 GB, free: 9.699 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002422/0.6397, allocations: 1.302 MB / 0.8227 GB, free: 8.344 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007218/0.6404, allocations: 0.9921 MB / 0.8237 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/0.6406, allocations: 39.44 kB / 0.8237 GB, free: 7.285 MB / 0.5919 GB Notification: Performance of SimCode: time 8.21e-07/0.6406, allocations: 3.938 kB / 0.8237 GB, free: 7.281 MB / 0.5919 GB Notification: Performance of Templates: time 0.02435/0.6649, allocations: 18.68 MB / 0.842 GB, free: 4.633 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1)