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.001282/0.001282, allocations: 105.4 kB / 15.99 MB, free: 6.352 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.00136/0.00136, allocations: 195.6 kB / 16.91 MB, free: 6.188 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.399/1.399, allocations: 205.1 MB / 222.8 MB, free: 4.707 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.659/1.659, allocations: 292.3 MB / 0.5492 GB, free: 13.61 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.001588/0.001588, allocations: 69.75 kB / 0.6717 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2139/0.2155, allocations: 114.5 MB / 0.7835 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.0187/0.2342, allocations: 15.91 MB / 0.7991 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.008254/0.2425, allocations: 4.825 MB / 0.8038 GB, free: 9.047 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001401/0.244, allocations: 55.69 kB / 0.8038 GB, free: 8.992 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002812/0.2468, allocations: 0.9688 MB / 0.8048 GB, free: 8.02 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002084/0.2489, allocations: 0.6885 MB / 0.8054 GB, free: 7.328 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002405/0.2513, allocations: 0.8412 MB / 0.8063 GB, free: 6.488 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003956/0.2553, allocations: 3.618 MB / 0.8098 GB, free: 2.863 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008419/0.2637, allocations: 5.838 MB / 0.8155 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002547/0.2663, allocations: 1.601 MB / 0.8171 GB, free: 11.35 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002667/0.269, allocations: 1.866 MB / 0.8189 GB, free: 9.48 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0008019/0.2698, allocations: 340 kB / 0.8192 GB, free: 9.148 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00188/0.2717, allocations: 0.7958 MB / 0.82 GB, free: 8.352 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001734/0.2735, allocations: 1.326 MB / 0.8213 GB, free: 7.023 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002556/0.2761, allocations: 1.455 MB / 0.8227 GB, free: 5.562 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004644/0.2807, allocations: 4.408 MB / 0.827 GB, free: 1.145 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/0.2808, allocations: 4 kB / 0.827 GB, free: 1.141 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.383e-06/0.2808, allocations: 0 / 0.827 GB, free: 1.141 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001551/0.2809, allocations: 0 / 0.827 GB, free: 1.141 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.006689/0.2876, allocations: 2.647 MB / 0.8296 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.2877, allocations: 12.03 kB / 0.8296 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004505/0.2922, allocations: 0.829 MB / 0.8304 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003326/0.2956, allocations: 1.497 MB / 0.8319 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001874/0.2958, allocations: 181.1 kB / 0.832 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007884/0.2966, allocations: 236.4 kB / 0.8323 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009707/0.3063, allocations: 4.165 MB / 0.8363 GB, free: 7.328 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001003/0.3065, allocations: 7.938 kB / 0.8363 GB, free: 7.32 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006645/0.3071, allocations: 95.98 kB / 0.8364 GB, free: 7.227 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002427/0.3074, allocations: 172.5 kB / 0.8366 GB, free: 7.055 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007347/0.3147, allocations: 3.624 MB / 0.8401 GB, free: 3.414 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02209/0.3369, allocations: 16.55 MB / 0.8563 GB, free: 1.434 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003517/0.3404, allocations: 2.3 MB / 0.8586 GB, free: 14.92 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009705/0.3414, allocations: 0.5702 MB / 0.8591 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001827/0.3417, allocations: 97.66 kB / 0.8592 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.34e-05/0.3417, allocations: 47.06 kB / 0.8592 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=72): time 3.436e-06/0.3417, allocations: 0 / 0.8592 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of matching and sorting (n=76): time 0.006539/0.3483, allocations: 3.424 MB / 0.8626 GB, free: 10.64 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.361e-05/0.3484, allocations: 111.5 kB / 0.8627 GB, free: 10.51 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001525/0.3499, allocations: 1.026 MB / 0.8637 GB, free: 9.461 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001024/0.3501, allocations: 37.7 kB / 0.8637 GB, free: 9.418 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007137/0.3508, allocations: 1.099 MB / 0.8648 GB, free: 8.301 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002992/0.3511, allocations: 272.2 kB / 0.8651 GB, free: 8.031 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000451/0.3515, allocations: 283.2 kB / 0.8653 GB, free: 7.75 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0002233/0.3518, allocations: 414.7 kB / 0.8657 GB, free: 7.336 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009811/0.3528, allocations: 0.6128 MB / 0.8663 GB, free: 6.723 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001411/0.3542, allocations: 1.189 MB / 0.8675 GB, free: 5.266 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002317/0.3565, allocations: 1.864 MB / 0.8693 GB, free: 3.137 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.639e-05/0.3566, allocations: 8 kB / 0.8693 GB, free: 3.129 MB / 0.6856 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004929/0.3615, allocations: 2.014 MB / 0.8713 GB, free: 1.094 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 5.467e-05/0.3616, allocations: 15.94 kB / 0.8713 GB, free: 1.078 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.241e-05/0.3617, allocations: 20.62 kB / 0.8713 GB, free: 1.059 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006998/0.3624, allocations: 163.3 kB / 0.8715 GB, free: 0.8867 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001972/0.3644, allocations: 351.4 kB / 0.8718 GB, free: 0.543 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.869e-05/0.3645, allocations: 39.86 kB / 0.8719 GB, free: 0.5039 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002018/0.3665, allocations: 131.7 kB / 0.872 GB, free: 384 kB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003379/0.3669, allocations: 68 kB / 0.872 GB, free: 316 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.002829/0.3698, allocations: 0.9769 MB / 0.873 GB, free: 15.32 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005407/0.3703, allocations: 114.7 kB / 0.8731 GB, free: 15.21 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003503/0.3738, allocations: 1.226 MB / 0.8743 GB, free: 13.96 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.42e-05/0.3739, allocations: 11.94 kB / 0.8743 GB, free: 13.95 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.987e-05/0.3739, allocations: 3.984 kB / 0.8743 GB, free: 13.94 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.737e-05/0.374, allocations: 7.984 kB / 0.8743 GB, free: 13.93 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01017/0.3842, allocations: 3.811 MB / 0.878 GB, free: 9.973 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.931e-05/0.3842, allocations: 4.094 kB / 0.8781 GB, free: 9.969 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001023/0.3853, allocations: 155.8 kB / 0.8782 GB, free: 9.816 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000556/0.3859, allocations: 147.6 kB / 0.8783 GB, free: 9.66 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.332e-05/0.386, allocations: 16 kB / 0.8784 GB, free: 9.645 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.92e-05/0.386, allocations: 15.92 kB / 0.8784 GB, free: 9.629 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/0.386, allocations: 7.938 kB / 0.8784 GB, free: 9.621 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003145/0.3892, allocations: 1.461 MB / 0.8798 GB, free: 8.105 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007257/0.3899, allocations: 267.8 kB / 0.8801 GB, free: 7.824 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003267/0.3902, allocations: 27.92 kB / 0.8801 GB, free: 7.797 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001165/0.3914, allocations: 63.91 kB / 0.8801 GB, free: 7.734 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002002/0.3916, allocations: 68.36 kB / 0.8802 GB, free: 7.668 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.02e-05/0.3917, allocations: 20 kB / 0.8802 GB, free: 7.648 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001573/0.3933, allocations: 0.6992 MB / 0.8809 GB, free: 6.938 MB / 0.7012 GB Notification: Performance of sort global known variables: time 3.4e-07/0.3933, allocations: 0 / 0.8809 GB, free: 6.938 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002387/0.3957, allocations: 388 kB / 0.8813 GB, free: 6.559 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.0002921/0.396, allocations: 127.1 kB / 0.8814 GB, free: 6.426 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.004776/0.4008, allocations: 2.02 MB / 0.8834 GB, free: 4.32 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/0.4009, allocations: 0 / 0.8834 GB, free: 4.32 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001541/0.4024, allocations: 0.8619 MB / 0.8842 GB, free: 3.375 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002602/0.4051, allocations: 262.7 kB / 0.8845 GB, free: 3.121 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01142/0.4165, allocations: 5.176 MB / 0.8895 GB, free: 13.88 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003236/0.4198, allocations: 1.959 MB / 0.8914 GB, free: 11.88 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004839/0.4203, allocations: 99.36 kB / 0.8915 GB, free: 11.79 MB / 0.7169 GB Notification: Performance of SimCode: time 9.72e-07/0.4204, allocations: 0 / 0.8915 GB, free: 11.79 MB / 0.7169 GB Notification: Performance of Templates: time 0.4467/0.8671, allocations: 73.28 MB / 0.9631 GB, free: 110.9 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)