Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 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.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_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.001491/0.001491, allocations: 111.9 kB / 15.61 MB, free: 128 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.001719/0.001719, allocations: 196.9 kB / 16.54 MB, free: 6.668 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.595/1.595, allocations: 205.1 MB / 222.4 MB, free: 4.625 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.748/1.748, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.001458/0.001458, allocations: 70.73 kB / 0.6715 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2726/0.2741, allocations: 114.5 MB / 0.7834 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.0195/0.2936, allocations: 16.01 MB / 0.799 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009167/0.3028, allocations: 4.872 MB / 0.8038 GB, free: 8.516 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001413/0.3043, allocations: 63.69 kB / 0.8038 GB, free: 8.453 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003148/0.3075, allocations: 1.049 MB / 0.8048 GB, free: 7.402 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002116/0.3096, allocations: 0.7386 MB / 0.8056 GB, free: 6.66 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002436/0.3121, allocations: 0.9157 MB / 0.8065 GB, free: 5.742 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00355/0.3156, allocations: 3.622 MB / 0.81 GB, free: 2.113 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006185/0.3218, allocations: 4.793 MB / 0.8147 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002617/0.3245, allocations: 1.578 MB / 0.8162 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003091/0.3276, allocations: 1.776 MB / 0.818 GB, free: 9.883 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0009446/0.3285, allocations: 340 kB / 0.8183 GB, free: 9.551 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002567/0.3311, allocations: 0.7997 MB / 0.8191 GB, free: 8.75 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001596/0.3327, allocations: 1.318 MB / 0.8203 GB, free: 7.43 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002088/0.3348, allocations: 1.463 MB / 0.8218 GB, free: 5.961 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.006495/0.3413, allocations: 5.095 MB / 0.8268 GB, free: 0.8516 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.3414, allocations: 0 / 0.8268 GB, free: 0.8516 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.134e-06/0.3414, allocations: 0 / 0.8268 GB, free: 0.8516 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001083/0.3415, allocations: 0 / 0.8268 GB, free: 0.8516 MB / 0.6387 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.005794/0.3473, allocations: 2.643 MB / 0.8293 GB, free: 14.15 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.3473, allocations: 12.03 kB / 0.8293 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003984/0.3513, allocations: 0.829 MB / 0.8302 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002533/0.3539, allocations: 1.501 MB / 0.8316 GB, free: 11.76 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001685/0.3541, allocations: 173.1 kB / 0.8318 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003621/0.3544, allocations: 240.3 kB / 0.832 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00738/0.3618, allocations: 4.158 MB / 0.8361 GB, free: 7.055 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.301e-05/0.3619, allocations: 11.92 kB / 0.8361 GB, free: 7.043 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002482/0.3622, allocations: 104 kB / 0.8362 GB, free: 6.941 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001898/0.3624, allocations: 172.5 kB / 0.8364 GB, free: 6.77 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006429/0.3688, allocations: 3.628 MB / 0.8399 GB, free: 3.125 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02104/0.3899, allocations: 16.55 MB / 0.8561 GB, free: 1.141 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003595/0.3935, allocations: 2.304 MB / 0.8583 GB, free: 14.63 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008391/0.3944, allocations: 0.5741 MB / 0.8589 GB, free: 14.05 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001428/0.3945, allocations: 101.6 kB / 0.859 GB, free: 13.93 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.3946, allocations: 47.06 kB / 0.859 GB, free: 13.88 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=72): time 2.845e-06/0.3946, allocations: 0 / 0.859 GB, free: 13.88 MB / 0.6856 GB Notification: Performance of matching and sorting (n=76): time 0.005544/0.4001, allocations: 3.424 MB / 0.8624 GB, free: 10.34 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.751e-05/0.4002, allocations: 111.5 kB / 0.8625 GB, free: 10.21 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001432/0.4016, allocations: 1.022 MB / 0.8635 GB, free: 9.164 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 5.072e-05/0.4017, allocations: 41.7 kB / 0.8635 GB, free: 9.117 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008242/0.4025, allocations: 1.099 MB / 0.8646 GB, free: 8 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002299/0.4028, allocations: 272.2 kB / 0.8648 GB, free: 7.73 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004803/0.4033, allocations: 279.2 kB / 0.8651 GB, free: 7.453 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0002103/0.4035, allocations: 410.7 kB / 0.8655 GB, free: 7.043 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009125/0.4044, allocations: 0.6245 MB / 0.8661 GB, free: 6.418 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001248/0.4057, allocations: 1.189 MB / 0.8673 GB, free: 4.969 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002529/0.4082, allocations: 1.868 MB / 0.8691 GB, free: 2.836 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.317e-05/0.4082, allocations: 8 kB / 0.8691 GB, free: 2.828 MB / 0.6856 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003172/0.4114, allocations: 2.015 MB / 0.8711 GB, free: 0.793 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.155e-05/0.4115, allocations: 17.09 kB / 0.8711 GB, free: 0.7773 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.103e-05/0.4115, allocations: 20 kB / 0.8711 GB, free: 0.7578 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005268/0.412, allocations: 159.3 kB / 0.8712 GB, free: 0.5898 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001171/0.4132, allocations: 347.4 kB / 0.8716 GB, free: 256 kB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.885e-05/0.4133, allocations: 39.86 kB / 0.8716 GB, free: 216 kB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001101/0.4144, allocations: 123.7 kB / 0.8717 GB, free: 92 kB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001082/0.4145, allocations: 71.98 kB / 0.8718 GB, free: 20 kB / 0.6856 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.001764/0.4163, allocations: 0.9762 MB / 0.8728 GB, free: 15.04 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003192/0.4166, allocations: 114.7 kB / 0.8729 GB, free: 14.92 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002028/0.4186, allocations: 1.226 MB / 0.8741 GB, free: 13.67 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/0.4186, allocations: 11.94 kB / 0.8741 GB, free: 13.66 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.186e-05/0.4187, allocations: 8 kB / 0.8741 GB, free: 13.65 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/0.4187, allocations: 3.984 kB / 0.8741 GB, free: 13.65 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005824/0.4245, allocations: 3.807 MB / 0.8778 GB, free: 9.688 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.428e-06/0.4245, allocations: 4 kB / 0.8778 GB, free: 9.684 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006086/0.4252, allocations: 155.8 kB / 0.878 GB, free: 9.531 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003626/0.4255, allocations: 143.6 kB / 0.8781 GB, free: 9.379 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.67e-05/0.4256, allocations: 16 kB / 0.8781 GB, free: 9.363 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.165e-05/0.4256, allocations: 11.94 kB / 0.8781 GB, free: 9.352 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.093e-06/0.4256, allocations: 3.938 kB / 0.8781 GB, free: 9.348 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002026/0.4277, allocations: 1.464 MB / 0.8796 GB, free: 7.832 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004392/0.4281, allocations: 267.8 kB / 0.8798 GB, free: 7.551 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000131/0.4282, allocations: 19.94 kB / 0.8798 GB, free: 7.531 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00056/0.4288, allocations: 71.83 kB / 0.8799 GB, free: 7.461 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001387/0.429, allocations: 60.44 kB / 0.88 GB, free: 7.402 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-05/0.429, allocations: 23.98 kB / 0.88 GB, free: 7.379 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0008879/0.4299, allocations: 0.6953 MB / 0.8807 GB, free: 6.672 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4299, allocations: 0 / 0.8807 GB, free: 6.672 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001469/0.4314, allocations: 388 kB / 0.881 GB, free: 6.293 MB / 0.7012 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.000238/0.4316, allocations: 131.1 kB / 0.8812 GB, free: 6.156 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002802/0.4344, allocations: 2.02 MB / 0.8831 GB, free: 4.051 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.4345, allocations: 4.062 kB / 0.8831 GB, free: 4.047 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0009499/0.4354, allocations: 0.8502 MB / 0.884 GB, free: 3.105 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001404/0.4368, allocations: 270.7 kB / 0.8842 GB, free: 2.844 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006014/0.4429, allocations: 3.826 MB / 0.888 GB, free: 14.95 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001669/0.4446, allocations: 1.92 MB / 0.8898 GB, free: 13 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001163/0.4457, allocations: 449.4 kB / 0.8903 GB, free: 12.56 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002107/0.446, allocations: 83.42 kB / 0.8903 GB, free: 12.48 MB / 0.7169 GB Notification: Performance of SimCode: time 1.623e-06/0.446, allocations: 0 / 0.8903 GB, free: 12.48 MB / 0.7169 GB Notification: Performance of Templates: time 0.02432/0.4703, allocations: 13.28 MB / 0.9033 GB, free: 15.33 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1)