Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.001065/0.001065, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.009073/0.009073, allocations: 172.9 kB / 16.26 MB, free: 6.613 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.486/1.486, allocations: 223.2 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.986/2.986, allocations: 473.4 MB / 0.7469 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003727/0.0003727, allocations: 11.81 kB / 0.9158 GB, free: 33.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3565/0.3568, allocations: 162.2 MB / 1.074 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.005447/0.3623, allocations: 4.523 MB / 1.079 GB, free: 3.016 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004042/0.3664, allocations: 2.475 MB / 1.081 GB, free: 0.5312 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000404/0.3668, allocations: 19.81 kB / 1.081 GB, free: 0.5117 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002968/0.3672, allocations: 95.16 kB / 1.081 GB, free: 428 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001005/0.3682, allocations: 414 kB / 1.081 GB, free: 12 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000902/0.3691, allocations: 367.3 kB / 1.082 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001081/0.3702, allocations: 1.132 MB / 1.083 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007662/0.3709, allocations: 460.3 kB / 1.083 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004068/0.3714, allocations: 290.6 kB / 1.084 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004308/0.3718, allocations: 334.5 kB / 1.084 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.559e-05/0.3719, allocations: 20 kB / 1.084 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000756/0.3726, allocations: 0.4911 MB / 1.084 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001782/0.3728, allocations: 159.5 kB / 1.085 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002743/0.3731, allocations: 319.9 kB / 1.085 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000844/0.3739, allocations: 0.8837 MB / 1.086 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.374, allocations: 4 kB / 1.086 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.354e-06/0.374, allocations: 0 / 1.086 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.217e-05/0.374, allocations: 3.938 kB / 1.086 GB, free: 11.55 MB / 0.8419 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.001248/0.3752, allocations: 0.8335 MB / 1.087 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.3753, allocations: 8.031 kB / 1.087 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001209/0.3765, allocations: 211.7 kB / 1.087 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006292/0.3772, allocations: 0.4905 MB / 1.087 GB, free: 9.918 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.645e-05/0.3772, allocations: 37.36 kB / 1.087 GB, free: 9.883 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.015e-05/0.3773, allocations: 40.38 kB / 1.087 GB, free: 9.844 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001047/0.3783, allocations: 0.8485 MB / 1.088 GB, free: 8.859 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.579e-05/0.3784, allocations: 7.938 kB / 1.088 GB, free: 8.852 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.562e-05/0.3784, allocations: 23.98 kB / 1.088 GB, free: 8.828 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.838e-05/0.3785, allocations: 64.95 kB / 1.088 GB, free: 8.766 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008198/0.3793, allocations: 0.5695 MB / 1.089 GB, free: 8.195 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00425/0.3836, allocations: 5.662 MB / 1.094 GB, free: 2.141 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006322/0.3842, allocations: 454.2 kB / 1.095 GB, free: 1.688 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003098/0.3846, allocations: 224.7 kB / 1.095 GB, free: 1.465 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.437e-05/0.3846, allocations: 4 kB / 1.095 GB, free: 1.461 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.3846, allocations: 42.56 kB / 1.095 GB, free: 1.41 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=32): time 1.773e-06/0.3846, allocations: 0 / 1.095 GB, free: 1.41 MB / 0.8419 GB Notification: Performance of matching and sorting (n=33): time 0.002505/0.3872, allocations: 1.52 MB / 1.097 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.697e-05/0.3872, allocations: 59.69 kB / 1.097 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004969/0.3877, allocations: 0.499 MB / 1.097 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.628e-05/0.3877, allocations: 33.7 kB / 1.097 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003016/0.3881, allocations: 358.8 kB / 1.097 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001041/0.3882, allocations: 126.3 kB / 1.098 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.026e-05/0.3882, allocations: 49.69 kB / 1.098 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.3884, allocations: 362.8 kB / 1.098 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002964/0.3887, allocations: 197.2 kB / 1.098 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004687/0.3892, allocations: 447.3 kB / 1.099 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007852/0.39, allocations: 0.6874 MB / 1.099 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.39, allocations: 4 kB / 1.099 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001197/0.3912, allocations: 0.8135 MB / 1.1 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.3912, allocations: 8 kB / 1.1 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.3912, allocations: 8 kB / 1.1 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004897/0.3917, allocations: 160.3 kB / 1.1 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004284/0.3922, allocations: 123.8 kB / 1.1 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003221/0.3954, allocations: 4.04 MB / 1.104 GB, free: 7.109 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003334/0.3957, allocations: 32.12 kB / 1.104 GB, free: 7.078 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.92e-05/0.3958, allocations: 32 kB / 1.104 GB, free: 7.047 MB / 0.8575 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.0002651/0.3961, allocations: 209.6 kB / 1.105 GB, free: 6.832 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.104e-05/0.3962, allocations: 67.19 kB / 1.105 GB, free: 6.766 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001042/0.3972, allocations: 0.5931 MB / 1.105 GB, free: 6.152 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.3972, allocations: 4 kB / 1.105 GB, free: 6.148 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.3972, allocations: 11.92 kB / 1.105 GB, free: 6.137 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.3972, allocations: 3.938 kB / 1.105 GB, free: 6.133 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001655/0.3989, allocations: 1.269 MB / 1.106 GB, free: 4.773 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.3989, allocations: 0 / 1.106 GB, free: 4.773 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002487/0.3992, allocations: 55.95 kB / 1.107 GB, free: 4.719 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003819/0.3996, allocations: 140.3 kB / 1.107 GB, free: 4.566 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.472e-05/0.3996, allocations: 12 kB / 1.107 GB, free: 4.555 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002869/0.4025, allocations: 4.033 MB / 1.111 GB, free: 124 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.4025, allocations: 3.938 kB / 1.111 GB, free: 120 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009339/0.4034, allocations: 0.6999 MB / 1.111 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000178/0.4036, allocations: 164.3 kB / 1.111 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.819e-05/0.4037, allocations: 11.94 kB / 1.111 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002528/0.4039, allocations: 23.97 kB / 1.111 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.683e-05/0.404, allocations: 35.89 kB / 1.112 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.949e-05/0.404, allocations: 12 kB / 1.112 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003429/0.4044, allocations: 338.8 kB / 1.112 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4044, allocations: 0 / 1.112 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005952/0.405, allocations: 140 kB / 1.112 GB, free: 14.64 MB / 0.8731 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.0001477/0.4052, allocations: 119.2 kB / 1.112 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001315/0.4065, allocations: 1.033 MB / 1.113 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.4065, allocations: 0 / 1.113 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0008006/0.4073, allocations: 0.7386 MB / 1.114 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001089/0.4084, allocations: 197 kB / 1.114 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001622/0.41, allocations: 1.285 MB / 1.115 GB, free: 11.05 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004565/0.4105, allocations: 0.9136 MB / 1.116 GB, free: 10.11 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003193/0.4108, allocations: 117.3 kB / 1.116 GB, free: 9.996 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.125e-05/0.4109, allocations: 39.44 kB / 1.116 GB, free: 9.957 MB / 0.8731 GB Notification: Performance of SimCode: time 4.11e-07/0.4109, allocations: 4 kB / 1.116 GB, free: 9.953 MB / 0.8731 GB Notification: Performance of Templates: time 0.01338/0.4243, allocations: 7.278 MB / 1.123 GB, free: 2.758 MB / 0.8731 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1)