Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.001394/0.001394, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.001545/0.001545, allocations: 195.9 kB / 16.25 MB, free: 6.621 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.415/1.415, allocations: 222.9 MB / 239.9 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.816/2.816, allocations: 472.6 MB / 0.7448 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 63.36 kB / 0.9115 GB, free: 33.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3538/0.3552, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.007804/0.363, allocations: 4.912 MB / 1.072 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004982/0.3681, allocations: 2.471 MB / 1.075 GB, free: 3.383 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000842/0.369, allocations: 27.75 kB / 1.075 GB, free: 3.355 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001769/0.3708, allocations: 362.5 kB / 1.075 GB, free: 3 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001582/0.3724, allocations: 410 kB / 1.076 GB, free: 2.598 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001104/0.3736, allocations: 371 kB / 1.076 GB, free: 2.238 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001415/0.375, allocations: 0.9289 MB / 1.077 GB, free: 1.305 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008011/0.3758, allocations: 390.5 kB / 1.077 GB, free: 0.9219 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007213/0.3765, allocations: 338.6 kB / 1.078 GB, free: 0.5898 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006287/0.3772, allocations: 370.4 kB / 1.078 GB, free: 232 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001099/0.3773, allocations: 40 kB / 1.078 GB, free: 192 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009129/0.3782, allocations: 403.1 kB / 1.078 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002338/0.3785, allocations: 179.5 kB / 1.079 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0004563/0.3789, allocations: 322.2 kB / 1.079 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001366/0.3803, allocations: 0.9074 MB / 1.08 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.3803, allocations: 4 kB / 1.08 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.294e-06/0.3803, allocations: 0 / 1.08 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 3.15e-05/0.3804, allocations: 0 / 1.08 GB, free: 14.39 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.001971/0.3824, allocations: 0.9462 MB / 1.081 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.3824, allocations: 12.03 kB / 1.081 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001429/0.3838, allocations: 207.9 kB / 1.081 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008116/0.3847, allocations: 0.4944 MB / 1.081 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.23e-05/0.3847, allocations: 37.3 kB / 1.081 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.241e-05/0.3848, allocations: 44.38 kB / 1.081 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001201/0.386, allocations: 0.8446 MB / 1.082 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.852e-05/0.3861, allocations: 7.938 kB / 1.082 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.46e-05/0.3861, allocations: 27.92 kB / 1.082 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000103/0.3862, allocations: 68.95 kB / 1.082 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009143/0.3871, allocations: 0.5656 MB / 1.083 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004925/0.3921, allocations: 5.666 MB / 1.088 GB, free: 4.855 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006391/0.3927, allocations: 454.3 kB / 1.089 GB, free: 4.402 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000313/0.3931, allocations: 228.7 kB / 1.089 GB, free: 4.176 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.051e-05/0.3931, allocations: 4 kB / 1.089 GB, free: 4.172 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.3931, allocations: 30.56 kB / 1.089 GB, free: 4.133 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=32): time 1.954e-06/0.3931, allocations: 0 / 1.089 GB, free: 4.133 MB / 0.8419 GB Notification: Performance of matching and sorting (n=33): time 0.002662/0.3958, allocations: 1.516 MB / 1.091 GB, free: 2.5 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.149e-05/0.3959, allocations: 59.69 kB / 1.091 GB, free: 2.43 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005808/0.3965, allocations: 0.4991 MB / 1.091 GB, free: 1.918 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.045e-05/0.3965, allocations: 29.7 kB / 1.091 GB, free: 1.883 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002529/0.3968, allocations: 362.8 kB / 1.092 GB, free: 1.523 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/0.3969, allocations: 122.3 kB / 1.092 GB, free: 1.402 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001521/0.397, allocations: 110.2 kB / 1.092 GB, free: 1.285 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.3972, allocations: 366.8 kB / 1.092 GB, free: 0.918 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002745/0.3975, allocations: 197.1 kB / 1.092 GB, free: 0.7266 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004667/0.398, allocations: 453.2 kB / 1.093 GB, free: 172 kB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008357/0.3988, allocations: 0.6874 MB / 1.093 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.527e-05/0.3988, allocations: 4 kB / 1.093 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001297/0.4001, allocations: 0.8054 MB / 1.094 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.4002, allocations: 11.94 kB / 1.094 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/0.4002, allocations: 8 kB / 1.094 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005105/0.4007, allocations: 156.8 kB / 1.094 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004543/0.4012, allocations: 123.8 kB / 1.095 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003401/0.4046, allocations: 4.348 MB / 1.099 GB, free: 9.457 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004804/0.4051, allocations: 36.03 kB / 1.099 GB, free: 9.422 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.447e-05/0.4051, allocations: 28 kB / 1.099 GB, free: 9.395 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.0003407/0.4055, allocations: 213.5 kB / 1.099 GB, free: 9.176 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.665e-05/0.4056, allocations: 67.19 kB / 1.099 GB, free: 9.109 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001087/0.4067, allocations: 0.597 MB / 1.1 GB, free: 8.492 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.4067, allocations: 4 kB / 1.1 GB, free: 8.488 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.4067, allocations: 4 kB / 1.1 GB, free: 8.484 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.4067, allocations: 0 / 1.1 GB, free: 8.484 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001784/0.4085, allocations: 1.265 MB / 1.101 GB, free: 7.125 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.4085, allocations: 4 kB / 1.101 GB, free: 7.121 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002507/0.4088, allocations: 55.89 kB / 1.101 GB, free: 7.066 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004045/0.4092, allocations: 140.4 kB / 1.101 GB, free: 6.914 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.738e-05/0.4092, allocations: 11.94 kB / 1.101 GB, free: 6.902 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003361/0.4126, allocations: 4.34 MB / 1.105 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/0.4126, allocations: 4.031 kB / 1.105 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001036/0.4136, allocations: 0.7081 MB / 1.106 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002518/0.4139, allocations: 168.3 kB / 1.106 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.981e-05/0.414, allocations: 11.98 kB / 1.106 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002472/0.4143, allocations: 19.97 kB / 1.106 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.99e-05/0.4143, allocations: 39.84 kB / 1.106 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.188e-05/0.4144, allocations: 12 kB / 1.106 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0004057/0.4148, allocations: 338.8 kB / 1.107 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4148, allocations: 0 / 1.107 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0006738/0.4155, allocations: 136 kB / 1.107 GB, free: 0.6445 MB / 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.0001616/0.4156, allocations: 123.1 kB / 1.107 GB, free: 0.5117 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001445/0.4171, allocations: 1.076 MB / 1.108 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.289e-06/0.4171, allocations: 4 kB / 1.108 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0008192/0.4179, allocations: 0.7308 MB / 1.109 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001047/0.419, allocations: 206.1 kB / 1.109 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001971/0.421, allocations: 1.267 MB / 1.11 GB, free: 13.03 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000535/0.4215, allocations: 0.9098 MB / 1.111 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003806/0.4219, allocations: 121.3 kB / 1.111 GB, free: 11.97 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00011/0.422, allocations: 43.42 kB / 1.111 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of SimCode: time 8.62e-07/0.422, allocations: 0 / 1.111 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of Templates: time 0.01603/0.4381, allocations: 7.672 MB / 1.119 GB, free: 4.348 MB / 0.8731 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1)