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.001083/0.001083, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.00116/0.00116, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.43/1.43, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.759/1.759, allocations: 292.5 MB / 0.5497 GB, free: 14.64 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.0004887/0.0004887, allocations: 15 kB / 0.6736 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2187/0.2192, allocations: 116.3 MB / 0.7871 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01451/0.2338, allocations: 14.07 MB / 0.8009 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.006956/0.2408, allocations: 4.609 MB / 0.8054 GB, free: 9.234 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009836/0.2418, allocations: 51.69 kB / 0.8054 GB, free: 9.184 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.000653/0.2425, allocations: 290.2 kB / 0.8057 GB, free: 8.898 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001828/0.2443, allocations: 0.6348 MB / 0.8063 GB, free: 8.262 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001741/0.246, allocations: 0.5799 MB / 0.8069 GB, free: 7.684 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002487/0.2485, allocations: 1.647 MB / 0.8085 GB, free: 6.035 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006659/0.2552, allocations: 4.942 MB / 0.8133 GB, free: 1.031 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001559/0.2568, allocations: 0.9461 MB / 0.8142 GB, free: 84 kB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001401/0.2582, allocations: 1.001 MB / 0.8152 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002393/0.2585, allocations: 144 kB / 0.8154 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009195/0.2594, allocations: 347.6 kB / 0.8157 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0009407/0.2603, allocations: 0.9823 MB / 0.8166 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005528/0.2609, allocations: 492.5 kB / 0.8171 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003763/0.2647, allocations: 4.216 MB / 0.8212 GB, free: 8.895 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2647, allocations: 0 / 0.8212 GB, free: 8.895 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.154e-06/0.2647, allocations: 0 / 0.8212 GB, free: 8.895 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001348/0.2648, allocations: 0 / 0.8212 GB, free: 8.895 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.004408/0.2693, allocations: 2.186 MB / 0.8234 GB, free: 6.648 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.2693, allocations: 8.031 kB / 0.8234 GB, free: 6.641 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003864/0.2732, allocations: 0.871 MB / 0.8242 GB, free: 5.766 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00309/0.2763, allocations: 1.481 MB / 0.8257 GB, free: 4.238 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001307/0.2764, allocations: 176.8 kB / 0.8258 GB, free: 4.062 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000464/0.2769, allocations: 228 kB / 0.8261 GB, free: 3.84 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006866/0.2838, allocations: 4.13 MB / 0.8301 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.483e-05/0.2839, allocations: 3.938 kB / 0.8301 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002479/0.2841, allocations: 99.98 kB / 0.8302 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001788/0.2843, allocations: 168.5 kB / 0.8303 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005572/0.2899, allocations: 3.635 MB / 0.8339 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01787/0.3078, allocations: 16.54 MB / 0.85 GB, free: 9.691 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003014/0.3108, allocations: 2.3 MB / 0.8523 GB, free: 7.184 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001249/0.311, allocations: 97.59 kB / 0.8524 GB, free: 7.07 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.311, allocations: 39.11 kB / 0.8524 GB, free: 7.023 MB / 0.67 GB Notification: Performance of pre-optimization done (n=72): time 2.324e-06/0.311, allocations: 4 kB / 0.8524 GB, free: 7.02 MB / 0.67 GB Notification: Performance of matching and sorting (n=76): time 0.005142/0.3162, allocations: 3.45 MB / 0.8558 GB, free: 3.469 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.064e-05/0.3163, allocations: 115.5 kB / 0.8559 GB, free: 3.332 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001127/0.3174, allocations: 1.01 MB / 0.8569 GB, free: 2.297 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.648e-05/0.3174, allocations: 41.7 kB / 0.8569 GB, free: 2.25 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006141/0.3181, allocations: 1.095 MB / 0.858 GB, free: 1.137 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001781/0.3182, allocations: 276.2 kB / 0.8583 GB, free: 0.8633 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.872e-05/0.3183, allocations: 32 kB / 0.8583 GB, free: 0.832 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001961/0.3185, allocations: 414.7 kB / 0.8587 GB, free: 428 kB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008214/0.3193, allocations: 0.6245 MB / 0.8593 GB, free: 15.79 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00113/0.3205, allocations: 1.182 MB / 0.8605 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/0.3216, allocations: 0.8579 MB / 0.8613 GB, free: 13.48 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.101e-05/0.3216, allocations: 8 kB / 0.8613 GB, free: 13.48 MB / 0.6856 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003006/0.3246, allocations: 2.018 MB / 0.8633 GB, free: 11.44 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.032e-05/0.3247, allocations: 16.62 kB / 0.8633 GB, free: 11.42 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.675e-05/0.3247, allocations: 16 kB / 0.8633 GB, free: 11.41 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004178/0.3251, allocations: 171.3 kB / 0.8635 GB, free: 11.23 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00109/0.3262, allocations: 347.4 kB / 0.8638 GB, free: 10.89 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.289e-05/0.3263, allocations: 35.86 kB / 0.8638 GB, free: 10.85 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009826/0.3273, allocations: 139.7 kB / 0.864 GB, free: 10.71 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001054/0.3274, allocations: 67.98 kB / 0.864 GB, free: 10.65 MB / 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 (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001985/0.3294, allocations: 0.981 MB / 0.865 GB, free: 9.656 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003127/0.3297, allocations: 106.7 kB / 0.8651 GB, free: 9.551 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002188/0.3319, allocations: 1.237 MB / 0.8663 GB, free: 8.293 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.345e-05/0.3319, allocations: 8 kB / 0.8663 GB, free: 8.285 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.835e-05/0.3319, allocations: 11.95 kB / 0.8663 GB, free: 8.273 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.35e-05/0.3319, allocations: 7.984 kB / 0.8663 GB, free: 8.266 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006351/0.3383, allocations: 3.69 MB / 0.8699 GB, free: 4.453 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.685e-06/0.3383, allocations: 4 kB / 0.8699 GB, free: 4.449 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006115/0.339, allocations: 159.8 kB / 0.8701 GB, free: 4.293 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003374/0.3393, allocations: 143.2 kB / 0.8702 GB, free: 4.141 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.385e-05/0.3394, allocations: 20.25 kB / 0.8702 GB, free: 4.121 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.265e-06/0.3394, allocations: 7.984 kB / 0.8702 GB, free: 4.113 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.3394, allocations: 4 kB / 0.8703 GB, free: 4.109 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001986/0.3414, allocations: 1.6 MB / 0.8718 GB, free: 2.391 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005363/0.3419, allocations: 287.8 kB / 0.8721 GB, free: 2.09 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000127/0.342, allocations: 12 kB / 0.8721 GB, free: 2.078 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005742/0.3426, allocations: 75.91 kB / 0.8722 GB, free: 2.004 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001274/0.3428, allocations: 64.38 kB / 0.8722 GB, free: 1.941 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.401e-05/0.3428, allocations: 23.98 kB / 0.8723 GB, free: 1.918 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0008964/0.3437, allocations: 0.6875 MB / 0.8729 GB, free: 1.219 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3437, allocations: 0 / 0.8729 GB, free: 1.219 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001466/0.3452, allocations: 388 kB / 0.8733 GB, free: 0.8398 MB / 0.6856 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 (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002249/0.3454, allocations: 131 kB / 0.8734 GB, free: 0.6992 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002376/0.3478, allocations: 1.722 MB / 0.8751 GB, free: 14.89 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.3478, allocations: 0 / 0.8751 GB, free: 14.89 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001002/0.3488, allocations: 0.8593 MB / 0.8759 GB, free: 13.95 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001149/0.35, allocations: 245.8 kB / 0.8762 GB, free: 13.71 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006429/0.3564, allocations: 4.621 MB / 0.8807 GB, free: 9.027 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001675/0.3581, allocations: 1.961 MB / 0.8826 GB, free: 7.031 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001155/0.3593, allocations: 453.4 kB / 0.883 GB, free: 6.586 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001961/0.3595, allocations: 83.42 kB / 0.8831 GB, free: 6.504 MB / 0.7012 GB Notification: Performance of SimCode: time 5.71e-07/0.3595, allocations: 0 / 0.8831 GB, free: 6.504 MB / 0.7012 GB Notification: Performance of Templates: time 0.02157/0.3811, allocations: 12.32 MB / 0.8952 GB, free: 10.3 MB / 0.7169 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: