Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.Loads_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008601/0.00086, allocations: 92.39 kB / 15.06 MB, free: 1.098 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.0009895/0.0009896, allocations: 172.7 kB / 15.95 MB, free: 208 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.554/1.554, allocations: 205.4 MB / 222.1 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.628/1.628, allocations: 252 MB / 0.5102 GB, free: 4.777 MB / 414.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.0005654/0.0005657, allocations: 23.98 kB / 0.6243 GB, free: 1.078 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5908/0.5914, allocations: 106.3 MB / 0.7281 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.02289/0.6143, allocations: 18.54 MB / 0.7462 GB, free: 8.812 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01325/0.6276, allocations: 7.182 MB / 0.7532 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002438/0.6301, allocations: 51.81 kB / 0.7533 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001163/0.6313, allocations: 357.3 kB / 0.7536 GB, free: 1.211 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002663/0.634, allocations: 0.7585 MB / 0.7544 GB, free: 460 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003471/0.6375, allocations: 1.015 MB / 0.7554 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006448/0.6439, allocations: 4.93 MB / 0.7602 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009855/0.6538, allocations: 6.537 MB / 0.7666 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002608/0.6564, allocations: 1.281 MB / 0.7678 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002959/0.6594, allocations: 1.834 MB / 0.7696 GB, free: 0.7578 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003857/0.6598, allocations: 176 kB / 0.7698 GB, free: 0.5859 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001164/0.661, allocations: 431.5 kB / 0.7702 GB, free: 168 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001324/0.6623, allocations: 1.329 MB / 0.7715 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006846/0.663, allocations: 0.5589 MB / 0.772 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004644/0.6677, allocations: 5.136 MB / 0.777 GB, free: 9.117 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.6677, allocations: 0 / 0.777 GB, free: 9.117 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.355e-06/0.6677, allocations: 0 / 0.777 GB, free: 9.117 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001455/0.6679, allocations: 0 / 0.777 GB, free: 9.117 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.005071/0.6729, allocations: 2.466 MB / 0.7795 GB, free: 6.59 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.673, allocations: 11.97 kB / 0.7795 GB, free: 6.578 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002912/0.6759, allocations: 0.6835 MB / 0.7801 GB, free: 5.891 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002988/0.6789, allocations: 1.515 MB / 0.7816 GB, free: 4.332 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001939/0.6791, allocations: 217.8 kB / 0.7818 GB, free: 4.117 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005011/0.6796, allocations: 287.9 kB / 0.7821 GB, free: 3.836 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00908/0.6887, allocations: 5.027 MB / 0.787 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.531e-05/0.6888, allocations: 11.92 kB / 0.787 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002934/0.6891, allocations: 120 kB / 0.7871 GB, free: 14.49 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002459/0.6894, allocations: 212.6 kB / 0.7873 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007338/0.6967, allocations: 4.165 MB / 0.7914 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02636/0.7231, allocations: 23.02 MB / 0.8139 GB, free: 0.9414 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00315/0.7263, allocations: 1.723 MB / 0.8156 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001691/0.7281, allocations: 1.122 MB / 0.8167 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001856/0.7283, allocations: 105.7 kB / 0.8168 GB, free: 13.92 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.28e-05/0.7284, allocations: 39.22 kB / 0.8168 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=84): time 3.016e-06/0.7284, allocations: 0 / 0.8168 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of matching and sorting (n=87): time 0.00749/0.7359, allocations: 3.997 MB / 0.8207 GB, free: 9.844 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.28e-05/0.736, allocations: 141.2 kB / 0.8208 GB, free: 9.676 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001302/0.7373, allocations: 0.8408 MB / 0.8217 GB, free: 8.828 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 9.148e-05/0.7374, allocations: 49.64 kB / 0.8217 GB, free: 8.773 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008487/0.7382, allocations: 1.162 MB / 0.8228 GB, free: 7.594 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000329/0.7386, allocations: 311.6 kB / 0.8231 GB, free: 7.285 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.026e-05/0.7387, allocations: 24 kB / 0.8232 GB, free: 7.262 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001917/0.7389, allocations: 402.7 kB / 0.8235 GB, free: 6.859 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001261/0.7401, allocations: 0.7911 MB / 0.8243 GB, free: 6.066 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001574/0.7417, allocations: 1.291 MB / 0.8256 GB, free: 4.555 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001528/0.7433, allocations: 0.9983 MB / 0.8265 GB, free: 3.551 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.061e-05/0.7433, allocations: 4 kB / 0.8266 GB, free: 3.547 MB / 0.6387 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003525/0.7468, allocations: 2.175 MB / 0.8287 GB, free: 1.367 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004339/0.7473, allocations: 0.4951 MB / 0.8292 GB, free: 0.6758 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.439e-05/0.7473, allocations: 16.14 kB / 0.8292 GB, free: 0.6602 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.959e-05/0.7474, allocations: 24 kB / 0.8292 GB, free: 0.6367 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001542/0.7489, allocations: 415.3 kB / 0.8296 GB, free: 236 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.971e-05/0.749, allocations: 35.86 kB / 0.8296 GB, free: 200 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00118/0.7502, allocations: 199.3 kB / 0.8298 GB, free: 0 / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001219/0.7503, allocations: 64.09 kB / 0.8299 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.7503, allocations: 7.938 kB / 0.8299 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002761/0.7531, allocations: 1.753 MB / 0.8316 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.746e-05/0.7531, allocations: 16 kB / 0.8316 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.153e-05/0.7532, allocations: 28.05 kB / 0.8316 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001187/0.7544, allocations: 363.4 kB / 0.832 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.741e-05/0.7544, allocations: 31.86 kB / 0.832 GB, free: 13.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009541/0.7554, allocations: 147.4 kB / 0.8322 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001065/0.7555, allocations: 55.98 kB / 0.8322 GB, free: 13.54 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (156): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002024/0.7575, allocations: 1.172 MB / 0.8334 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002869/0.7578, allocations: 102.8 kB / 0.8335 GB, free: 12.26 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002913/0.7607, allocations: 1.854 MB / 0.8353 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/0.7608, allocations: 12 kB / 0.8353 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.7608, allocations: 0 / 0.8353 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.7608, allocations: 7.984 kB / 0.8353 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01345/0.7742, allocations: 9.577 MB / 0.8446 GB, free: 0.5391 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.115e-05/0.7743, allocations: 8 kB / 0.8446 GB, free: 0.5312 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001219/0.7755, allocations: 319.5 kB / 0.8449 GB, free: 224 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.462e-05/0.7756, allocations: 19.95 kB / 0.845 GB, free: 204 kB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-05/0.7757, allocations: 32 kB / 0.845 GB, free: 172 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.799e-05/0.7757, allocations: 19.92 kB / 0.845 GB, free: 152 kB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.094e-05/0.7757, allocations: 19.94 kB / 0.845 GB, free: 132 kB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003027/0.7788, allocations: 2.394 MB / 0.8474 GB, free: 13.58 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007583/0.7795, allocations: 391.5 kB / 0.8477 GB, free: 13.18 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002447/0.7798, allocations: 35.95 kB / 0.8478 GB, free: 13.14 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009613/0.7808, allocations: 139.8 kB / 0.8479 GB, free: 13 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001824/0.781, allocations: 87.7 kB / 0.848 GB, free: 12.92 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.767e-05/0.781, allocations: 40 kB / 0.848 GB, free: 12.88 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0009394/0.782, allocations: 0.581 MB / 0.8486 GB, free: 12.3 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.81e-07/0.782, allocations: 0 / 0.8486 GB, free: 12.3 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002872/0.7849, allocations: 0.7461 MB / 0.8493 GB, free: 11.56 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (90): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002538/0.7851, allocations: 154.9 kB / 0.8495 GB, free: 11.39 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004428/0.7896, allocations: 2.826 MB / 0.8522 GB, free: 8.574 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/0.7896, allocations: 3.828 kB / 0.8522 GB, free: 8.574 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001332/0.7909, allocations: 0.9119 MB / 0.8531 GB, free: 7.664 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002272/0.7932, allocations: 273.5 kB / 0.8534 GB, free: 7.402 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009655/0.8029, allocations: 6.019 MB / 0.8593 GB, free: 1.199 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00243/0.8053, allocations: 2.135 MB / 0.8614 GB, free: 15.03 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001971/0.8073, allocations: 0.7305 MB / 0.8621 GB, free: 14.3 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004079/0.8077, allocations: 83.42 kB / 0.8622 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of SimCode: time 9.52e-07/0.8078, allocations: 0 / 0.8622 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of Templates: time 0.02884/0.8366, allocations: 16.13 MB / 0.8779 GB, free: 14.24 MB / 0.7012 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1) Environment - environmentSimulation: