Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_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_8_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.001498/0.001498, 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.001881/0.001881, allocations: 191.1 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.759/1.759, allocations: 205.1 MB / 222.1 MB, free: 4.695 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.802/1.802, allocations: 292.2 MB / 0.5485 GB, free: 13.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 69.16 kB / 0.671 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.3267, allocations: 114.5 MB / 0.7829 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.006696/0.3334, allocations: 4.93 MB / 0.7877 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004374/0.3378, allocations: 2.515 MB / 0.7901 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005688/0.3384, allocations: 23.81 kB / 0.7901 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001204/0.3396, allocations: 368.2 kB / 0.7905 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00125/0.3409, allocations: 410 kB / 0.7909 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000968/0.3419, allocations: 369.6 kB / 0.7912 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001057/0.3429, allocations: 0.9251 MB / 0.7921 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006769/0.3436, allocations: 398.5 kB / 0.7925 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004701/0.3441, allocations: 346.5 kB / 0.7929 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004204/0.3445, allocations: 358.4 kB / 0.7932 GB, free: 3.258 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.619e-05/0.3446, allocations: 36 kB / 0.7932 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007233/0.3453, allocations: 407.1 kB / 0.7936 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001815/0.3455, allocations: 179.5 kB / 0.7938 GB, free: 2.648 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002868/0.3458, allocations: 318.2 kB / 0.7941 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0009828/0.3468, allocations: 0.9148 MB / 0.795 GB, free: 1.418 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.3468, allocations: 4 kB / 0.795 GB, free: 1.414 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.027e-06/0.3468, allocations: 0 / 0.795 GB, free: 1.414 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.252e-05/0.3468, allocations: 3.938 kB / 0.795 GB, free: 1.41 MB / 0.6075 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.001363/0.3482, allocations: 0.9424 MB / 0.7959 GB, free: 424 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.3482, allocations: 8.031 kB / 0.7959 GB, free: 416 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001169/0.3494, allocations: 203.8 kB / 0.7961 GB, free: 212 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007591/0.3502, allocations: 0.4944 MB / 0.7966 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.363e-05/0.3502, allocations: 41.36 kB / 0.7966 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.789e-05/0.3503, allocations: 44.36 kB / 0.7967 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001134/0.3515, allocations: 0.8485 MB / 0.7975 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.432e-05/0.3515, allocations: 11.84 kB / 0.7975 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.271e-05/0.3516, allocations: 24 kB / 0.7975 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.054e-05/0.3517, allocations: 64.95 kB / 0.7976 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008568/0.3525, allocations: 0.5656 MB / 0.7982 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004757/0.3573, allocations: 5.666 MB / 0.8037 GB, free: 7.879 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006605/0.358, allocations: 453.3 kB / 0.8041 GB, free: 7.43 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003233/0.3583, allocations: 232.7 kB / 0.8043 GB, free: 7.199 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.942e-05/0.3584, allocations: 4 kB / 0.8044 GB, free: 7.195 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.3584, allocations: 38.56 kB / 0.8044 GB, free: 7.148 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=32): time 1.883e-06/0.3584, allocations: 0 / 0.8044 GB, free: 7.148 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33): time 0.002574/0.361, allocations: 1.512 MB / 0.8059 GB, free: 5.523 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.529e-05/0.361, allocations: 55.41 kB / 0.8059 GB, free: 5.457 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006281/0.3617, allocations: 0.4991 MB / 0.8064 GB, free: 4.945 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.845e-05/0.3617, allocations: 29.7 kB / 0.8064 GB, free: 4.91 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002282/0.3619, allocations: 358.8 kB / 0.8068 GB, free: 4.555 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000194/0.3621, allocations: 122.3 kB / 0.8069 GB, free: 4.434 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001557/0.3623, allocations: 118.2 kB / 0.807 GB, free: 4.309 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002249/0.3625, allocations: 366.8 kB / 0.8074 GB, free: 3.941 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000259/0.3628, allocations: 193.2 kB / 0.8075 GB, free: 3.754 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000412/0.3632, allocations: 447 kB / 0.808 GB, free: 3.199 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008239/0.3641, allocations: 0.6847 MB / 0.8086 GB, free: 2.398 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.3641, allocations: 4 kB / 0.8086 GB, free: 2.395 MB / 0.6231 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001442/0.3655, allocations: 0.8059 MB / 0.8094 GB, free: 1.566 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.818e-05/0.3656, allocations: 8 kB / 0.8094 GB, free: 1.559 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-05/0.3656, allocations: 12.12 kB / 0.8094 GB, free: 1.547 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005389/0.3662, allocations: 164 kB / 0.8096 GB, free: 1.371 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00046/0.3666, allocations: 119.8 kB / 0.8097 GB, free: 1.254 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003747/0.3704, allocations: 4.344 MB / 0.814 GB, free: 12.49 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004869/0.3709, allocations: 31.97 kB / 0.814 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.257e-05/0.371, allocations: 28 kB / 0.814 GB, free: 12.43 MB / 0.6387 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.0003036/0.3713, allocations: 223.2 kB / 0.8142 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.512e-05/0.3714, allocations: 63.25 kB / 0.8143 GB, free: 12.14 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001057/0.3724, allocations: 0.5968 MB / 0.8149 GB, free: 11.53 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-06/0.3724, allocations: 4 kB / 0.8149 GB, free: 11.52 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.3725, allocations: 3.984 kB / 0.8149 GB, free: 11.52 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.3725, allocations: 0 / 0.8149 GB, free: 11.52 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001847/0.3743, allocations: 1.265 MB / 0.8161 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.3743, allocations: 12.09 kB / 0.8161 GB, free: 10.15 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002402/0.3746, allocations: 55.95 kB / 0.8162 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003989/0.375, allocations: 140.1 kB / 0.8163 GB, free: 9.941 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.753e-05/0.375, allocations: 11.94 kB / 0.8163 GB, free: 9.93 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003701/0.3787, allocations: 4.336 MB / 0.8206 GB, free: 5.168 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/0.3788, allocations: 3.938 kB / 0.8206 GB, free: 5.164 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001117/0.3799, allocations: 0.7121 MB / 0.8213 GB, free: 4.398 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000295/0.3802, allocations: 164.3 kB / 0.8214 GB, free: 4.219 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.134e-05/0.3803, allocations: 19.92 kB / 0.8214 GB, free: 4.199 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002467/0.3805, allocations: 23.97 kB / 0.8215 GB, free: 4.176 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.229e-05/0.3806, allocations: 27.91 kB / 0.8215 GB, free: 4.148 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.102e-05/0.3806, allocations: 12 kB / 0.8215 GB, free: 4.137 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0004003/0.381, allocations: 338.8 kB / 0.8218 GB, free: 3.809 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.6e-07/0.381, allocations: 0 / 0.8218 GB, free: 3.809 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000661/0.3817, allocations: 144 kB / 0.822 GB, free: 3.668 MB / 0.6387 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.0001547/0.3819, allocations: 119.1 kB / 0.8221 GB, free: 3.539 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001592/0.3835, allocations: 1.075 MB / 0.8231 GB, free: 2.383 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.3835, allocations: 0 / 0.8231 GB, free: 2.383 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0008142/0.3843, allocations: 0.7382 MB / 0.8238 GB, free: 1.562 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009698/0.3853, allocations: 204.8 kB / 0.824 GB, free: 1.371 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002/0.3873, allocations: 1.262 MB / 0.8253 GB, free: 60 kB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005802/0.3879, allocations: 0.9059 MB / 0.8261 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003486/0.3882, allocations: 121.3 kB / 0.8263 GB, free: 15 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.523e-05/0.3883, allocations: 43.42 kB / 0.8263 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of SimCode: time 5.31e-07/0.3883, allocations: 0 / 0.8263 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of Templates: time 0.01627/0.4046, allocations: 7.677 MB / 0.8338 GB, free: 7.375 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1)