Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001361/0.001361, allocations: 188 kB / 16.25 MB, free: 6.629 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.47/1.47, allocations: 222.9 MB / 239.9 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.788/2.788, allocations: 472.6 MB / 0.7448 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002112/0.002112, allocations: 62 kB / 0.9115 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3606/0.3627, allocations: 159.9 MB / 1.068 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.03572/0.3985, allocations: 15.91 MB / 1.083 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01439/0.4129, allocations: 4.785 MB / 1.088 GB, free: 6.074 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001795/0.4148, allocations: 55.69 kB / 1.088 GB, free: 6.02 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.004583/0.4195, allocations: 0.965 MB / 1.089 GB, free: 5.051 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.003472/0.4229, allocations: 0.6846 MB / 1.09 GB, free: 4.363 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.004337/0.4273, allocations: 0.8455 MB / 1.09 GB, free: 3.52 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.006446/0.4338, allocations: 3.626 MB / 1.094 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01052/0.4443, allocations: 5.838 MB / 1.1 GB, free: 9.98 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002912/0.4473, allocations: 1.601 MB / 1.101 GB, free: 8.375 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00288/0.4502, allocations: 1.862 MB / 1.103 GB, free: 6.508 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.001058/0.4513, allocations: 340 kB / 1.103 GB, free: 6.176 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002211/0.4535, allocations: 0.7958 MB / 1.104 GB, free: 5.379 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.002219/0.4557, allocations: 1.333 MB / 1.105 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.002707/0.4584, allocations: 1.455 MB / 1.107 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.006352/0.4648, allocations: 5.138 MB / 1.112 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.4648, allocations: 0 / 1.112 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.845e-06/0.4648, allocations: 0 / 1.112 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0001375/0.465, allocations: 3.938 kB / 1.112 GB, free: 13.43 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.005549/0.4705, allocations: 2.643 MB / 1.114 GB, free: 10.72 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.4706, allocations: 12.03 kB / 1.114 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003973/0.4746, allocations: 0.8251 MB / 1.115 GB, free: 9.883 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002325/0.4769, allocations: 1.501 MB / 1.117 GB, free: 8.332 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001206/0.477, allocations: 181.1 kB / 1.117 GB, free: 8.152 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000367/0.4774, allocations: 244.3 kB / 1.117 GB, free: 7.914 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00649/0.4839, allocations: 4.158 MB / 1.121 GB, free: 3.617 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.379e-05/0.484, allocations: 4 kB / 1.121 GB, free: 3.613 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002591/0.4843, allocations: 104 kB / 1.121 GB, free: 3.512 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001779/0.4844, allocations: 168.5 kB / 1.121 GB, free: 3.344 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005704/0.4902, allocations: 3.626 MB / 1.125 GB, free: 15.7 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01873/0.5089, allocations: 16.54 MB / 1.141 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003414/0.5124, allocations: 2.297 MB / 1.143 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008951/0.5133, allocations: 0.5702 MB / 1.144 GB, free: 10.65 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001645/0.5135, allocations: 105.6 kB / 1.144 GB, free: 10.53 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.528e-05/0.5135, allocations: 43.12 kB / 1.144 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=72): time 3.426e-06/0.5135, allocations: 0 / 1.144 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of matching and sorting (n=76): time 0.005813/0.5193, allocations: 3.428 MB / 1.147 GB, free: 6.945 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.511e-05/0.5194, allocations: 115.5 kB / 1.148 GB, free: 6.809 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001395/0.5208, allocations: 1.018 MB / 1.149 GB, free: 5.766 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.016e-05/0.5209, allocations: 37.7 kB / 1.149 GB, free: 5.723 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007661/0.5217, allocations: 1.107 MB / 1.15 GB, free: 4.598 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002243/0.5219, allocations: 268.3 kB / 1.15 GB, free: 4.332 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004247/0.5223, allocations: 275.2 kB / 1.15 GB, free: 4.059 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001924/0.5225, allocations: 414.7 kB / 1.151 GB, free: 3.645 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009057/0.5234, allocations: 0.6129 MB / 1.151 GB, free: 3.031 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001292/0.5247, allocations: 1.193 MB / 1.152 GB, free: 1.574 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002293/0.5271, allocations: 1.868 MB / 1.154 GB, free: 15.43 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.727e-06/0.5271, allocations: 4 kB / 1.154 GB, free: 15.43 MB / 0.92 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003194/0.5303, allocations: 2.014 MB / 1.156 GB, free: 13.39 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.091e-05/0.5303, allocations: 12.72 kB / 1.156 GB, free: 13.38 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.606e-05/0.5304, allocations: 23.94 kB / 1.156 GB, free: 13.36 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004288/0.5308, allocations: 167.3 kB / 1.156 GB, free: 13.18 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001108/0.5319, allocations: 343.4 kB / 1.157 GB, free: 12.85 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.49e-05/0.5319, allocations: 39.86 kB / 1.157 GB, free: 12.81 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/0.533, allocations: 135.7 kB / 1.157 GB, free: 12.68 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/0.5331, allocations: 67.98 kB / 1.157 GB, free: 12.61 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001417/0.5345, allocations: 0.9832 MB / 1.158 GB, free: 11.62 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002083/0.5347, allocations: 110.7 kB / 1.158 GB, free: 11.51 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002029/0.5368, allocations: 1.222 MB / 1.159 GB, free: 10.26 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/0.5368, allocations: 11.94 kB / 1.159 GB, free: 10.25 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.5368, allocations: 0 / 1.159 GB, free: 10.25 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.163e-05/0.5368, allocations: 12.06 kB / 1.159 GB, free: 10.24 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005532/0.5423, allocations: 3.807 MB / 1.163 GB, free: 6.285 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.365e-06/0.5424, allocations: 4 kB / 1.163 GB, free: 6.281 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006255/0.543, allocations: 156 kB / 1.163 GB, free: 6.129 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003543/0.5434, allocations: 155.3 kB / 1.163 GB, free: 5.965 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.742e-05/0.5434, allocations: 12 kB / 1.163 GB, free: 5.953 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.037e-05/0.5435, allocations: 19.86 kB / 1.163 GB, free: 5.934 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.5435, allocations: 0 / 1.163 GB, free: 5.934 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001883/0.5454, allocations: 1.468 MB / 1.165 GB, free: 4.41 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003895/0.5458, allocations: 267.8 kB / 1.165 GB, free: 4.129 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001364/0.5459, allocations: 20 kB / 1.165 GB, free: 4.109 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000602/0.5465, allocations: 71.89 kB / 1.165 GB, free: 4.039 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001299/0.5467, allocations: 64.36 kB / 1.165 GB, free: 3.977 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.326e-05/0.5467, allocations: 20 kB / 1.165 GB, free: 3.957 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.000847/0.5476, allocations: 0.6992 MB / 1.166 GB, free: 3.246 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5476, allocations: 0 / 1.166 GB, free: 3.246 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0013/0.5489, allocations: 388 kB / 1.166 GB, free: 2.867 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001875/0.5491, allocations: 131.1 kB / 1.166 GB, free: 2.73 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002831/0.5519, allocations: 2.015 MB / 1.168 GB, free: 0.6289 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.5519, allocations: 0 / 1.168 GB, free: 0.6289 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0009275/0.5528, allocations: 0.8631 MB / 1.169 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001425/0.5543, allocations: 259.9 kB / 1.169 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007044/0.5613, allocations: 4.811 MB / 1.174 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001674/0.563, allocations: 1.92 MB / 1.176 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001135/0.5642, allocations: 453.6 kB / 1.176 GB, free: 8.156 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002169/0.5644, allocations: 83.44 kB / 1.176 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of SimCode: time 8.62e-07/0.5644, allocations: 0 / 1.176 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of Templates: time 0.02744/0.5919, allocations: 13.32 MB / 1.189 GB, free: 10.89 MB / 0.9512 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1)