Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00155/0.00155, allocations: 108.1 kB / 16.27 MB, free: 5.984 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.001517/0.001517, allocations: 191.9 kB / 17.2 MB, free: 5.609 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.36/1.36, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002488/0.002488, allocations: 286 kB / 291.3 MB, free: 14.54 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.184/1.184, allocations: 178.5 MB / 0.5079 GB, free: 12.78 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002714/0.002714, allocations: 103.8 kB / 0.6071 GB, free: 9.309 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.166/0.1687, allocations: 89.13 MB / 0.6942 GB, free: 88 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.006596/0.1753, allocations: 4.877 MB / 0.6989 GB, free: 11.18 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004111/0.1795, allocations: 2.498 MB / 0.7014 GB, free: 8.672 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002711/0.1798, allocations: 27.75 kB / 0.7014 GB, free: 8.645 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001154/0.1809, allocations: 401.9 kB / 0.7018 GB, free: 8.25 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0008929/0.1818, allocations: 445.6 kB / 0.7022 GB, free: 7.812 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008336/0.1827, allocations: 398 kB / 0.7026 GB, free: 7.426 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000957/0.1836, allocations: 0.9251 MB / 0.7035 GB, free: 6.5 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005546/0.1842, allocations: 362.7 kB / 0.7038 GB, free: 6.137 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004289/0.1847, allocations: 334.7 kB / 0.7041 GB, free: 5.809 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004415/0.1851, allocations: 350.4 kB / 0.7045 GB, free: 5.465 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.574e-05/0.1852, allocations: 36 kB / 0.7045 GB, free: 5.43 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007874/0.186, allocations: 403.1 kB / 0.7049 GB, free: 5.035 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002219/0.1862, allocations: 187.4 kB / 0.7051 GB, free: 4.852 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003251/0.1865, allocations: 322.2 kB / 0.7054 GB, free: 4.535 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001035/0.1876, allocations: 0.8721 MB / 0.7062 GB, free: 3.66 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1876, allocations: 0 / 0.7062 GB, free: 3.66 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.162e-06/0.1876, allocations: 0 / 0.7062 GB, free: 3.66 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.337e-06/0.1876, allocations: 0 / 0.7062 GB, free: 3.66 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001478/0.1891, allocations: 0.9565 MB / 0.7072 GB, free: 2.656 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.1892, allocations: 12.03 kB / 0.7072 GB, free: 2.645 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001281/0.1904, allocations: 199.9 kB / 0.7074 GB, free: 2.449 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006934/0.1911, allocations: 0.4943 MB / 0.7079 GB, free: 1.914 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.775e-05/0.1912, allocations: 33.38 kB / 0.7079 GB, free: 1.883 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.835e-05/0.1913, allocations: 48.36 kB / 0.7079 GB, free: 1.836 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001094/0.1924, allocations: 0.8446 MB / 0.7088 GB, free: 0.8555 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.324e-05/0.1924, allocations: 7.938 kB / 0.7088 GB, free: 0.8477 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.562e-05/0.1925, allocations: 27.98 kB / 0.7088 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.86e-05/0.1926, allocations: 68.95 kB / 0.7089 GB, free: 0.7539 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008289/0.1934, allocations: 0.5656 MB / 0.7094 GB, free: 192 kB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2469/0.4403, allocations: 5.648 MB / 0.7149 GB, free: 44.95 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006127/0.4409, allocations: 452.6 kB / 0.7154 GB, free: 44.93 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002679/0.4412, allocations: 233 kB / 0.7156 GB, free: 44.92 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.651e-05/0.4412, allocations: 3.188 kB / 0.7156 GB, free: 44.92 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.576e-05/0.4412, allocations: 37.5 kB / 0.7156 GB, free: 44.88 MB / 0.545 GB Notification: Performance of pre-optimization done (n=32): time 1.944e-06/0.4412, allocations: 0 / 0.7156 GB, free: 44.88 MB / 0.545 GB Notification: Performance of matching and sorting (n=33): time 0.002037/0.4433, allocations: 1.512 MB / 0.7171 GB, free: 44.25 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.11e-05/0.4433, allocations: 57.95 kB / 0.7172 GB, free: 44.18 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000362/0.4437, allocations: 0.4978 MB / 0.7176 GB, free: 43.96 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.4437, allocations: 32.61 kB / 0.7177 GB, free: 43.92 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001339/0.4439, allocations: 359.2 kB / 0.718 GB, free: 43.64 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.841e-05/0.4439, allocations: 121 kB / 0.7181 GB, free: 43.55 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/0.444, allocations: 107.6 kB / 0.7182 GB, free: 43.49 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 6.135e-05/0.4441, allocations: 374.7 kB / 0.7186 GB, free: 43.15 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002161/0.4443, allocations: 198.7 kB / 0.7188 GB, free: 43.09 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002779/0.4446, allocations: 443.8 kB / 0.7192 GB, free: 42.71 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000549/0.4452, allocations: 0.6893 MB / 0.7199 GB, free: 42.22 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.4452, allocations: 3.281 kB / 0.7199 GB, free: 42.22 MB / 0.545 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0009884/0.4462, allocations: 0.8175 MB / 0.7207 GB, free: 41.9 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.4462, allocations: 9.469 kB / 0.7207 GB, free: 41.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.4462, allocations: 12.67 kB / 0.7207 GB, free: 41.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004009/0.4466, allocations: 146.2 kB / 0.7208 GB, free: 41.84 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003888/0.447, allocations: 127.1 kB / 0.721 GB, free: 41.82 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002052/0.4491, allocations: 4.341 MB / 0.7252 GB, free: 37.56 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003495/0.4494, allocations: 40.42 kB / 0.7252 GB, free: 37.55 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.031e-05/0.4495, allocations: 27.53 kB / 0.7253 GB, free: 37.55 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001824/0.4497, allocations: 219.3 kB / 0.7255 GB, free: 37.37 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.25e-05/0.4498, allocations: 66.75 kB / 0.7255 GB, free: 37.34 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000814/0.4506, allocations: 0.5898 MB / 0.7261 GB, free: 37.06 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.4506, allocations: 12.25 kB / 0.7261 GB, free: 37.06 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.4506, allocations: 0.8438 kB / 0.7261 GB, free: 37.06 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.4506, allocations: 0 / 0.7261 GB, free: 37.06 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001324/0.4519, allocations: 1.261 MB / 0.7274 GB, free: 36.36 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.4519, allocations: 3 kB / 0.7274 GB, free: 36.36 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000236/0.4522, allocations: 55.19 kB / 0.7274 GB, free: 36.35 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003289/0.4525, allocations: 148.8 kB / 0.7276 GB, free: 36.28 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.183e-05/0.4526, allocations: 7.688 kB / 0.7276 GB, free: 36.28 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001962/0.4545, allocations: 4.333 MB / 0.7318 GB, free: 32.02 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.4545, allocations: 6.719 kB / 0.7318 GB, free: 32.01 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007451/0.4553, allocations: 0.706 MB / 0.7325 GB, free: 31.6 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001478/0.4555, allocations: 170.4 kB / 0.7326 GB, free: 31.46 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.032e-05/0.4555, allocations: 7 kB / 0.7327 GB, free: 31.45 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002453/0.4558, allocations: 33.7 kB / 0.7327 GB, free: 31.45 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.211e-05/0.4558, allocations: 29.77 kB / 0.7327 GB, free: 31.44 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/0.4559, allocations: 9.25 kB / 0.7327 GB, free: 31.44 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002758/0.4561, allocations: 345 kB / 0.7331 GB, free: 31.28 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4562, allocations: 0 / 0.7331 GB, free: 31.28 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005607/0.4567, allocations: 143.4 kB / 0.7332 GB, free: 31.27 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.613e-05/0.4568, allocations: 112.7 kB / 0.7333 GB, free: 31.17 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001068/0.4579, allocations: 1.08 MB / 0.7344 GB, free: 30.45 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4579, allocations: 0 / 0.7344 GB, free: 30.45 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0005973/0.4585, allocations: 0.7391 MB / 0.7351 GB, free: 29.84 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008952/0.4594, allocations: 203.1 kB / 0.7353 GB, free: 29.79 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/0.4606, allocations: 1.113 MB / 0.7364 GB, free: 29.16 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002363/0.4608, allocations: 0.9042 MB / 0.7372 GB, free: 28.44 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.4609, allocations: 48.88 kB / 0.7373 GB, free: 28.43 MB / 0.545 GB Notification: Performance of SimCode: time 4.41e-07/0.4609, allocations: 0 / 0.7373 GB, free: 28.43 MB / 0.545 GB Notification: Performance of Templates: time 0.01739/0.4783, allocations: 18.31 MB / 0.7552 GB, free: 27.12 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1)