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.001542/0.001542, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001821/0.001821, allocations: 192.6 kB / 16.53 MB, free: 6.391 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.481/1.481, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.772/2.772, allocations: 472.6 MB / 0.7451 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 58.42 kB / 0.912 GB, free: 33.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3476, allocations: 159.9 MB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.006253/0.3539, allocations: 4.902 MB / 1.073 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003654/0.3576, allocations: 2.483 MB / 1.075 GB, free: 2.973 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002237/0.3579, allocations: 31.75 kB / 1.075 GB, free: 2.941 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001057/0.3589, allocations: 398 kB / 1.076 GB, free: 2.551 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0007662/0.3597, allocations: 449.6 kB / 1.076 GB, free: 2.109 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007395/0.3605, allocations: 410.3 kB / 1.077 GB, free: 1.711 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0008049/0.3613, allocations: 0.9173 MB / 1.078 GB, free: 0.7891 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004717/0.3618, allocations: 354.5 kB / 1.078 GB, free: 452 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003369/0.3621, allocations: 342.6 kB / 1.078 GB, free: 108 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003856/0.3625, allocations: 346.6 kB / 1.079 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 6.266e-05/0.3626, allocations: 40 kB / 1.079 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000586/0.3632, allocations: 399 kB / 1.079 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001697/0.3634, allocations: 183.4 kB / 1.079 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002754/0.3636, allocations: 322.2 kB / 1.079 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0008478/0.3645, allocations: 0.8762 MB / 1.08 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.3645, allocations: 8 kB / 1.08 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.123e-06/0.3645, allocations: 0 / 1.08 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.808e-06/0.3645, allocations: 0 / 1.08 GB, free: 13.95 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.001272/0.3658, allocations: 0.9501 MB / 1.081 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.3658, allocations: 8.031 kB / 1.081 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001188/0.367, allocations: 199.9 kB / 1.081 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006025/0.3677, allocations: 0.4905 MB / 1.082 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.443e-05/0.3677, allocations: 33.36 kB / 1.082 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.131e-05/0.3678, allocations: 48.36 kB / 1.082 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009846/0.3688, allocations: 0.8485 MB / 1.083 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.375e-05/0.3688, allocations: 11.92 kB / 1.083 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.763e-05/0.3688, allocations: 20 kB / 1.083 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.079e-05/0.3689, allocations: 64.95 kB / 1.083 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007628/0.3697, allocations: 0.5695 MB / 1.083 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003978/0.3737, allocations: 5.654 MB / 1.089 GB, free: 4.449 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006041/0.3743, allocations: 458.8 kB / 1.089 GB, free: 3.992 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000286/0.3746, allocations: 220.7 kB / 1.09 GB, free: 3.773 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.294e-05/0.3746, allocations: 4 kB / 1.09 GB, free: 3.77 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.3747, allocations: 38.56 kB / 1.09 GB, free: 3.723 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=32): time 2.545e-06/0.3747, allocations: 4 kB / 1.09 GB, free: 3.719 MB / 0.8419 GB Notification: Performance of matching and sorting (n=33): time 0.002581/0.3773, allocations: 1.515 MB / 1.091 GB, free: 2.086 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.439e-05/0.3773, allocations: 55.69 kB / 1.091 GB, free: 2.02 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005241/0.3778, allocations: 0.4952 MB / 1.092 GB, free: 1.512 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.706e-05/0.3779, allocations: 29.7 kB / 1.092 GB, free: 1.477 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002428/0.3781, allocations: 366.8 kB / 1.092 GB, free: 1.113 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.982e-05/0.3782, allocations: 118.3 kB / 1.092 GB, free: 0.9961 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001465/0.3784, allocations: 114.2 kB / 1.092 GB, free: 0.875 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.3785, allocations: 370.8 kB / 1.093 GB, free: 0.5039 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002809/0.3788, allocations: 189.2 kB / 1.093 GB, free: 328 kB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004247/0.3793, allocations: 457.2 kB / 1.093 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007725/0.38, allocations: 0.6796 MB / 1.094 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.38, allocations: 4 kB / 1.094 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001272/0.3813, allocations: 0.8099 MB / 1.095 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.3814, allocations: 9.562 kB / 1.095 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.644e-05/0.3814, allocations: 12 kB / 1.095 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004853/0.3819, allocations: 164 kB / 1.095 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004362/0.3823, allocations: 123.8 kB / 1.095 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003305/0.3856, allocations: 4.348 MB / 1.099 GB, free: 9.043 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003633/0.386, allocations: 31.97 kB / 1.099 GB, free: 9.012 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.925e-05/0.3861, allocations: 28 kB / 1.099 GB, free: 8.984 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.0002566/0.3863, allocations: 224.2 kB / 1.1 GB, free: 8.758 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.833e-05/0.3864, allocations: 63.25 kB / 1.1 GB, free: 8.695 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009823/0.3874, allocations: 0.5969 MB / 1.1 GB, free: 8.078 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.3874, allocations: 4 kB / 1.1 GB, free: 8.074 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.3875, allocations: 0 / 1.1 GB, free: 8.074 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.3875, allocations: 7.984 kB / 1.1 GB, free: 8.066 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001729/0.3892, allocations: 1.262 MB / 1.101 GB, free: 6.711 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.3892, allocations: 224 / 1.101 GB, free: 6.711 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002513/0.3895, allocations: 55.95 kB / 1.101 GB, free: 6.656 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003804/0.3899, allocations: 144.1 kB / 1.102 GB, free: 6.5 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.89e-05/0.3899, allocations: 11.94 kB / 1.102 GB, free: 6.488 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003107/0.393, allocations: 4.336 MB / 1.106 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.393, allocations: 0 / 1.106 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009605/0.394, allocations: 0.7082 MB / 1.107 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002111/0.3942, allocations: 172.3 kB / 1.107 GB, free: 0.7695 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.194e-05/0.3943, allocations: 8 kB / 1.107 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002549/0.3946, allocations: 27.97 kB / 1.107 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.897e-05/0.3946, allocations: 27.91 kB / 1.107 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-05/0.3947, allocations: 8 kB / 1.107 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003544/0.395, allocations: 338.8 kB / 1.107 GB, free: 380 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1.7e-07/0.395, allocations: 0 / 1.107 GB, free: 380 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0006803/0.3957, allocations: 144 kB / 1.107 GB, free: 236 kB / 0.8575 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.0001685/0.3959, allocations: 123.1 kB / 1.107 GB, free: 100 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001554/0.3975, allocations: 1.083 MB / 1.108 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.3975, allocations: 1 kB / 1.108 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0008396/0.3983, allocations: 0.7356 MB / 1.109 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001014/0.3994, allocations: 204.8 kB / 1.109 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001707/0.4011, allocations: 1.063 MB / 1.11 GB, free: 12.81 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004641/0.4016, allocations: 0.9098 MB / 1.111 GB, free: 11.87 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003495/0.4019, allocations: 121.2 kB / 1.111 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.112e-05/0.402, allocations: 43.44 kB / 1.111 GB, free: 11.71 MB / 0.8731 GB Notification: Performance of SimCode: time 5.81e-07/0.402, allocations: 0 / 1.111 GB, free: 11.71 MB / 0.8731 GB Notification: Performance of Templates: time 0.01599/0.418, allocations: 7.603 MB / 1.119 GB, free: 4.199 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)