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.001902/0.001902, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002307/0.002307, allocations: 195.7 kB / 16.14 MB, free: 6.703 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.464/1.464, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.965/2.965, allocations: 472.6 MB / 0.7447 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 63.52 kB / 0.9114 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3735/0.3748, allocations: 159.9 MB / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01884/0.3937, allocations: 15.92 MB / 1.083 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00809/0.4018, allocations: 4.825 MB / 1.088 GB, free: 6.125 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001196/0.4031, allocations: 55.69 kB / 1.088 GB, free: 6.07 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.002781/0.4059, allocations: 0.9718 MB / 1.089 GB, free: 5.098 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002443/0.4083, allocations: 0.6963 MB / 1.089 GB, free: 4.398 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002628/0.411, allocations: 0.8375 MB / 1.09 GB, free: 3.562 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.005554/0.4165, allocations: 5.272 MB / 1.095 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007978/0.4246, allocations: 5.413 MB / 1.101 GB, free: 8.801 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002366/0.4269, allocations: 1.339 MB / 1.102 GB, free: 7.457 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002868/0.4298, allocations: 1.811 MB / 1.104 GB, free: 5.641 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.000518/0.4304, allocations: 236 kB / 1.104 GB, free: 5.41 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001608/0.432, allocations: 0.8307 MB / 1.105 GB, free: 4.578 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001221/0.4332, allocations: 1.22 MB / 1.106 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001568/0.4348, allocations: 1.353 MB / 1.107 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.004733/0.4395, allocations: 5.052 MB / 1.112 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.4396, allocations: 4 kB / 1.112 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.402e-06/0.4396, allocations: 0 / 1.112 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 8.694e-05/0.4397, allocations: 0 / 1.112 GB, free: 12.93 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.004824/0.4445, allocations: 2.651 MB / 1.115 GB, free: 10.21 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.4446, allocations: 12.03 kB / 1.115 GB, free: 10.2 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004093/0.4487, allocations: 0.8251 MB / 1.116 GB, free: 9.375 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003295/0.452, allocations: 1.509 MB / 1.117 GB, free: 7.82 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001769/0.4522, allocations: 177.1 kB / 1.117 GB, free: 7.645 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007361/0.4529, allocations: 228.4 kB / 1.118 GB, free: 7.422 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007202/0.4602, allocations: 4.169 MB / 1.122 GB, free: 3.113 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.037e-05/0.4602, allocations: 4 kB / 1.122 GB, free: 3.109 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002654/0.4605, allocations: 99.98 kB / 1.122 GB, free: 3.012 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000181/0.4607, allocations: 168.5 kB / 1.122 GB, free: 2.844 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005881/0.4666, allocations: 3.628 MB / 1.125 GB, free: 15.2 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01925/0.4859, allocations: 16.54 MB / 1.142 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003431/0.4893, allocations: 2.288 MB / 1.144 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008903/0.4902, allocations: 0.5702 MB / 1.144 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001564/0.4904, allocations: 97.66 kB / 1.144 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.907e-05/0.4905, allocations: 47.11 kB / 1.144 GB, free: 9.984 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=72): time 3.025e-06/0.4905, allocations: 0 / 1.144 GB, free: 9.984 MB / 0.9044 GB Notification: Performance of matching and sorting (n=76): time 0.005825/0.4963, allocations: 3.428 MB / 1.148 GB, free: 6.449 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.77e-05/0.4964, allocations: 115.4 kB / 1.148 GB, free: 6.312 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001365/0.4978, allocations: 1.026 MB / 1.149 GB, free: 5.262 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.75e-05/0.4979, allocations: 37.7 kB / 1.149 GB, free: 5.219 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.00079/0.4986, allocations: 1.103 MB / 1.15 GB, free: 4.098 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002616/0.4989, allocations: 272.3 kB / 1.15 GB, free: 3.828 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003761/0.4993, allocations: 271.2 kB / 1.151 GB, free: 3.559 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002047/0.4995, allocations: 418.7 kB / 1.151 GB, free: 3.141 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009204/0.5004, allocations: 0.6168 MB / 1.152 GB, free: 2.523 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001268/0.5017, allocations: 1.185 MB / 1.153 GB, free: 1.074 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002422/0.5042, allocations: 1.86 MB / 1.155 GB, free: 14.95 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.307e-05/0.5042, allocations: 8 kB / 1.155 GB, free: 14.94 MB / 0.92 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003659/0.5078, allocations: 2.022 MB / 1.157 GB, free: 12.89 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.687e-05/0.5079, allocations: 12 kB / 1.157 GB, free: 12.88 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-05/0.5079, allocations: 20 kB / 1.157 GB, free: 12.86 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004748/0.5084, allocations: 168 kB / 1.157 GB, free: 12.69 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001183/0.5096, allocations: 343.4 kB / 1.157 GB, free: 12.35 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.123e-05/0.5097, allocations: 47.8 kB / 1.157 GB, free: 12.3 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001079/0.5108, allocations: 131.7 kB / 1.157 GB, free: 12.18 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-05/0.5109, allocations: 67.98 kB / 1.157 GB, free: 12.11 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.001587/0.5125, allocations: 0.9815 MB / 1.158 GB, free: 11.12 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002543/0.5127, allocations: 110.7 kB / 1.158 GB, free: 11.01 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002182/0.5149, allocations: 1.23 MB / 1.16 GB, free: 9.754 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/0.5149, allocations: 11.94 kB / 1.16 GB, free: 9.742 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.295e-05/0.515, allocations: 4 kB / 1.16 GB, free: 9.738 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.515, allocations: 3.984 kB / 1.16 GB, free: 9.734 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00594/0.5209, allocations: 3.803 MB / 1.163 GB, free: 5.781 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.458e-06/0.521, allocations: 4 kB / 1.163 GB, free: 5.777 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006592/0.5216, allocations: 155.8 kB / 1.163 GB, free: 5.625 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003882/0.522, allocations: 151.5 kB / 1.164 GB, free: 5.465 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.819e-05/0.5221, allocations: 12 kB / 1.164 GB, free: 5.453 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.106e-05/0.5221, allocations: 15.92 kB / 1.164 GB, free: 5.438 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.5221, allocations: 8 kB / 1.164 GB, free: 5.43 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002067/0.5242, allocations: 1.464 MB / 1.165 GB, free: 3.91 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004511/0.5246, allocations: 263.8 kB / 1.165 GB, free: 3.633 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001536/0.5248, allocations: 23.98 kB / 1.165 GB, free: 3.609 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000627/0.5254, allocations: 67.91 kB / 1.165 GB, free: 3.543 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001339/0.5256, allocations: 60.36 kB / 1.165 GB, free: 3.484 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.811e-05/0.5256, allocations: 24 kB / 1.165 GB, free: 3.461 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0009723/0.5266, allocations: 0.6992 MB / 1.166 GB, free: 2.75 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.3e-07/0.5266, allocations: 0 / 1.166 GB, free: 2.75 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001511/0.5281, allocations: 388 kB / 1.167 GB, free: 2.371 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.0002244/0.5284, allocations: 131 kB / 1.167 GB, free: 2.234 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002523/0.5309, allocations: 1.711 MB / 1.168 GB, free: 448 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/0.5309, allocations: 7.938 kB / 1.168 GB, free: 440 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001066/0.532, allocations: 0.8631 MB / 1.169 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001617/0.5336, allocations: 246.8 kB / 1.169 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007072/0.5407, allocations: 4.811 MB / 1.174 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001929/0.5427, allocations: 1.927 MB / 1.176 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001284/0.544, allocations: 445.4 kB / 1.176 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000231/0.5443, allocations: 87.42 kB / 1.177 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of SimCode: time 7.82e-07/0.5443, allocations: 0 / 1.177 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of Templates: time 0.02564/0.5699, allocations: 12.83 MB / 1.189 GB, free: 11.18 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)