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.00149/0.00149, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.00144/0.00144, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.366/1.366, 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.002105/0.002105, allocations: 282.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.9436/0.9436, allocations: 169.2 MB / 0.499 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 95.86 kB / 0.6821 GB, free: 7.004 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4358/0.4378, allocations: 86.97 MB / 0.767 GB, free: 3.973 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.00668/0.4445, allocations: 4.894 MB / 0.7718 GB, free: 15.05 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004296/0.4488, allocations: 2.479 MB / 0.7742 GB, free: 12.57 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005679/0.4494, allocations: 27.81 kB / 0.7743 GB, free: 12.54 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001337/0.4508, allocations: 401.9 kB / 0.7747 GB, free: 12.14 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001243/0.452, allocations: 449.6 kB / 0.7751 GB, free: 11.7 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001077/0.4531, allocations: 393.2 kB / 0.7755 GB, free: 11.32 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001295/0.4544, allocations: 0.9212 MB / 0.7764 GB, free: 10.39 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006659/0.4551, allocations: 358.8 kB / 0.7767 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006588/0.4558, allocations: 346.6 kB / 0.777 GB, free: 9.703 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006435/0.4564, allocations: 346.5 kB / 0.7774 GB, free: 9.363 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001203/0.4566, allocations: 36 kB / 0.7774 GB, free: 9.328 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009045/0.4575, allocations: 411 kB / 0.7778 GB, free: 8.926 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002338/0.4577, allocations: 179.5 kB / 0.778 GB, free: 8.75 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004305/0.4582, allocations: 326.2 kB / 0.7783 GB, free: 8.43 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00129/0.4595, allocations: 0.8862 MB / 0.7791 GB, free: 7.543 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.4595, allocations: 0 / 0.7791 GB, free: 7.543 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.332e-06/0.4595, allocations: 0 / 0.7791 GB, free: 7.543 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.767e-05/0.4595, allocations: 0 / 0.7791 GB, free: 7.543 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.001716/0.4612, allocations: 0.9541 MB / 0.7801 GB, free: 6.539 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.4613, allocations: 8.031 kB / 0.7801 GB, free: 6.531 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00132/0.4626, allocations: 199.8 kB / 0.7803 GB, free: 6.336 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009431/0.4636, allocations: 0.5451 MB / 0.7808 GB, free: 5.754 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.477e-05/0.4636, allocations: 29.38 kB / 0.7808 GB, free: 5.727 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.434e-05/0.4637, allocations: 56.34 kB / 0.7809 GB, free: 5.672 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001153/0.4649, allocations: 0.8603 MB / 0.7817 GB, free: 4.684 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.842e-05/0.4649, allocations: 11.84 kB / 0.7817 GB, free: 4.672 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.565e-05/0.465, allocations: 23.98 kB / 0.7818 GB, free: 4.648 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001147/0.4651, allocations: 64.95 kB / 0.7818 GB, free: 4.582 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008323/0.4659, allocations: 0.5617 MB / 0.7824 GB, free: 4.02 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004565/0.4705, allocations: 5.65 MB / 0.7879 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006435/0.4712, allocations: 452 kB / 0.7883 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003135/0.4715, allocations: 224.7 kB / 0.7885 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.342e-05/0.4716, allocations: 3.984 kB / 0.7885 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.817e-05/0.4716, allocations: 38.56 kB / 0.7886 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=32): time 1.954e-06/0.4716, allocations: 4 kB / 0.7886 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.002711/0.4743, allocations: 1.506 MB / 0.79 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.056e-05/0.4744, allocations: 59.67 kB / 0.7901 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005865/0.475, allocations: 0.4913 MB / 0.7906 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.2e-05/0.475, allocations: 29.7 kB / 0.7906 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002584/0.4753, allocations: 362.8 kB / 0.791 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.808e-05/0.4754, allocations: 126.2 kB / 0.7911 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000154/0.4756, allocations: 114.2 kB / 0.7912 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.4757, allocations: 362.8 kB / 0.7915 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002819/0.476, allocations: 193.2 kB / 0.7917 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004636/0.4765, allocations: 451 kB / 0.7921 GB, free: 9.305 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008759/0.4773, allocations: 0.692 MB / 0.7928 GB, free: 8.496 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.892e-06/0.4774, allocations: 8 kB / 0.7928 GB, free: 8.488 MB / 0.5606 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001322/0.4787, allocations: 0.7979 MB / 0.7936 GB, free: 7.668 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.4787, allocations: 12 kB / 0.7936 GB, free: 7.656 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.555e-05/0.4787, allocations: 12.12 kB / 0.7936 GB, free: 7.645 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005105/0.4793, allocations: 156 kB / 0.7938 GB, free: 7.477 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004537/0.4797, allocations: 123.8 kB / 0.7939 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00347/0.4832, allocations: 4.351 MB / 0.7981 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004171/0.4836, allocations: 31.97 kB / 0.7982 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.469e-05/0.4837, allocations: 31.98 kB / 0.7982 GB, free: 2.52 MB / 0.5606 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.0002853/0.484, allocations: 213.7 kB / 0.7984 GB, free: 2.305 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.4841, allocations: 71.25 kB / 0.7985 GB, free: 2.234 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001076/0.4852, allocations: 0.593 MB / 0.7991 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.291e-06/0.4852, allocations: 4 kB / 0.7991 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.4852, allocations: 4 kB / 0.7991 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.4852, allocations: 3.984 kB / 0.7991 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00178/0.487, allocations: 1.257 MB / 0.8003 GB, free: 260 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.487, allocations: 4 kB / 0.8003 GB, free: 256 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002653/0.4873, allocations: 51.89 kB / 0.8003 GB, free: 204 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003927/0.4877, allocations: 144.4 kB / 0.8005 GB, free: 44 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.576e-05/0.4878, allocations: 11.94 kB / 0.8005 GB, free: 32 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003373/0.4911, allocations: 4.34 MB / 0.8047 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/0.4912, allocations: 8.156 kB / 0.8047 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001037/0.4922, allocations: 0.708 MB / 0.8054 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002432/0.4925, allocations: 176.3 kB / 0.8056 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.859e-05/0.4925, allocations: 8 kB / 0.8056 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002656/0.4928, allocations: 19.97 kB / 0.8056 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.463e-05/0.4929, allocations: 35.91 kB / 0.8057 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.902e-05/0.4929, allocations: 11.94 kB / 0.8057 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004137/0.4934, allocations: 338.8 kB / 0.806 GB, free: 9.906 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4934, allocations: 0 / 0.806 GB, free: 9.906 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000652/0.494, allocations: 144 kB / 0.8061 GB, free: 9.766 MB / 0.5762 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 0.0001482/0.4942, allocations: 111.2 kB / 0.8062 GB, free: 9.645 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001448/0.4956, allocations: 1.037 MB / 0.8073 GB, free: 8.527 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.163e-06/0.4956, allocations: 0 / 0.8073 GB, free: 8.527 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008509/0.4965, allocations: 0.7385 MB / 0.808 GB, free: 7.707 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/0.4975, allocations: 210.5 kB / 0.8082 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001651/0.4992, allocations: 1.093 MB / 0.8092 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004886/0.4997, allocations: 0.9098 MB / 0.8101 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001285/0.4998, allocations: 43.44 kB / 0.8102 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of SimCode: time 2.41e-07/0.4998, allocations: 0 / 0.8102 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of Templates: time 0.0217/0.5215, allocations: 18.37 MB / 0.8281 GB, free: 3.051 MB / 0.5919 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)