Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.Loads_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_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.0007745/0.0007745, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008774/0.0008775, allocations: 168.7 kB / 15.95 MB, free: 204 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.377/1.377, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.673/1.673, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0005387/0.000539, allocations: 17.44 kB / 0.6737 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2281/0.2287, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.0205/0.2492, allocations: 18.53 MB / 0.8054 GB, free: 9.355 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01187/0.2611, allocations: 7.171 MB / 0.8124 GB, free: 2.168 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002182/0.2634, allocations: 51.81 kB / 0.8124 GB, free: 2.117 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001254/0.2646, allocations: 357.3 kB / 0.8128 GB, free: 1.766 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002308/0.267, allocations: 0.7469 MB / 0.8135 GB, free: 1.016 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003144/0.2701, allocations: 1.027 MB / 0.8145 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.006056/0.2762, allocations: 4.927 MB / 0.8193 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01015/0.2864, allocations: 6.543 MB / 0.8257 GB, free: 4.434 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002883/0.2893, allocations: 1.277 MB / 0.827 GB, free: 3.152 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003422/0.2927, allocations: 1.834 MB / 0.8288 GB, free: 1.312 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.000464/0.2932, allocations: 176 kB / 0.8289 GB, free: 1.141 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001388/0.2946, allocations: 431.6 kB / 0.8293 GB, free: 0.7188 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001414/0.296, allocations: 1.333 MB / 0.8306 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0008606/0.2969, allocations: 0.5589 MB / 0.8312 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.005531/0.3024, allocations: 5.128 MB / 0.8362 GB, free: 9.676 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 9.257e-06/0.3025, allocations: 7.922 kB / 0.8362 GB, free: 9.668 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.555e-06/0.3025, allocations: 0 / 0.8362 GB, free: 9.668 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001608/0.3026, allocations: 4 kB / 0.8362 GB, free: 9.664 MB / 0.6544 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.005188/0.3078, allocations: 2.462 MB / 0.8386 GB, free: 7.141 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.3079, allocations: 12.03 kB / 0.8386 GB, free: 7.129 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002892/0.3108, allocations: 0.6951 MB / 0.8393 GB, free: 6.43 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002562/0.3134, allocations: 1.508 MB / 0.8408 GB, free: 4.875 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001715/0.3136, allocations: 221.8 kB / 0.841 GB, free: 4.656 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004628/0.314, allocations: 284 kB / 0.8413 GB, free: 4.379 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008601/0.3226, allocations: 5.035 MB / 0.8462 GB, free: 15.16 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.534e-05/0.3227, allocations: 11.88 kB / 0.8462 GB, free: 15.14 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003091/0.3231, allocations: 124 kB / 0.8463 GB, free: 15.02 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00025/0.3233, allocations: 208.6 kB / 0.8465 GB, free: 14.82 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006673/0.33, allocations: 4.169 MB / 0.8506 GB, free: 10.63 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02511/0.3551, allocations: 23 MB / 0.873 GB, free: 1.484 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002554/0.3577, allocations: 1.712 MB / 0.8747 GB, free: 15.74 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001423/0.3592, allocations: 1.134 MB / 0.8758 GB, free: 14.59 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001552/0.3594, allocations: 101.7 kB / 0.8759 GB, free: 14.48 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.648e-05/0.3594, allocations: 51.17 kB / 0.876 GB, free: 14.42 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=84): time 2.805e-06/0.3594, allocations: 0 / 0.876 GB, free: 14.42 MB / 0.7012 GB Notification: Performance of matching and sorting (n=87): time 0.006139/0.3656, allocations: 3.997 MB / 0.8799 GB, free: 10.39 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.48e-05/0.3657, allocations: 137.2 kB / 0.88 GB, free: 10.22 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001247/0.3669, allocations: 0.8486 MB / 0.8808 GB, free: 9.363 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.37e-05/0.367, allocations: 41.7 kB / 0.8809 GB, free: 9.316 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.000826/0.3679, allocations: 1.162 MB / 0.882 GB, free: 8.137 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002754/0.3681, allocations: 303.7 kB / 0.8823 GB, free: 7.836 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.279e-05/0.3682, allocations: 28 kB / 0.8823 GB, free: 7.809 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001995/0.3684, allocations: 410.7 kB / 0.8827 GB, free: 7.398 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001076/0.3695, allocations: 0.791 MB / 0.8835 GB, free: 6.605 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001466/0.371, allocations: 1.295 MB / 0.8847 GB, free: 5.09 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001415/0.3724, allocations: 0.9905 MB / 0.8857 GB, free: 4.098 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.007e-06/0.3724, allocations: 4 kB / 0.8857 GB, free: 4.094 MB / 0.7012 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003316/0.3758, allocations: 2.175 MB / 0.8878 GB, free: 1.91 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003631/0.3761, allocations: 0.4908 MB / 0.8883 GB, free: 1.223 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.093e-05/0.3762, allocations: 16 kB / 0.8883 GB, free: 1.207 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.748e-05/0.3762, allocations: 24 kB / 0.8884 GB, free: 1.184 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001462/0.3777, allocations: 403.2 kB / 0.8887 GB, free: 0.7891 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.088e-05/0.3777, allocations: 31.92 kB / 0.8888 GB, free: 0.7578 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/0.3787, allocations: 203.3 kB / 0.889 GB, free: 0.5586 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/0.3788, allocations: 63.98 kB / 0.889 GB, free: 0.4961 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 7.263e-06/0.3788, allocations: 4.094 kB / 0.889 GB, free: 0.4922 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0026/0.3815, allocations: 1.765 MB / 0.8907 GB, free: 14.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.767e-05/0.3815, allocations: 16 kB / 0.8908 GB, free: 14.71 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.215e-05/0.3815, allocations: 27.94 kB / 0.8908 GB, free: 14.68 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001122/0.3826, allocations: 355.9 kB / 0.8911 GB, free: 14.34 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.781e-05/0.3827, allocations: 35.86 kB / 0.8912 GB, free: 14.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007354/0.3834, allocations: 151.4 kB / 0.8913 GB, free: 14.15 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.071e-05/0.3835, allocations: 56 kB / 0.8914 GB, free: 14.1 MB / 0.7169 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.001962/0.3855, allocations: 1.168 MB / 0.8925 GB, free: 12.92 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002218/0.3857, allocations: 106.8 kB / 0.8926 GB, free: 12.81 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002783/0.3885, allocations: 1.854 MB / 0.8944 GB, free: 10.95 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.269e-05/0.3885, allocations: 15.95 kB / 0.8944 GB, free: 10.93 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.3885, allocations: 0 / 0.8944 GB, free: 10.93 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/0.3886, allocations: 7.984 kB / 0.8944 GB, free: 10.92 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01203/0.4006, allocations: 9.585 MB / 0.9038 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.298e-05/0.4006, allocations: 8 kB / 0.9038 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001111/0.4018, allocations: 311.5 kB / 0.9041 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-05/0.4018, allocations: 20.53 kB / 0.9041 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.463e-05/0.4019, allocations: 39.95 kB / 0.9042 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.075e-05/0.4019, allocations: 23.86 kB / 0.9042 GB, free: 0.6914 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-05/0.4019, allocations: 19.94 kB / 0.9042 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002806/0.4047, allocations: 2.398 MB / 0.9065 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006201/0.4054, allocations: 379.6 kB / 0.9069 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001515/0.4055, allocations: 35.98 kB / 0.9069 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008081/0.4063, allocations: 135.8 kB / 0.9071 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001837/0.4065, allocations: 95.48 kB / 0.9072 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.252e-05/0.4066, allocations: 43.98 kB / 0.9072 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008501/0.4075, allocations: 0.5771 MB / 0.9078 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of sort global known variables: time 5.91e-07/0.4075, allocations: 0 / 0.9078 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002815/0.4103, allocations: 0.75 MB / 0.9085 GB, free: 12.09 MB / 0.7325 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.0003084/0.4106, allocations: 146.9 kB / 0.9086 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004193/0.4148, allocations: 2.82 MB / 0.9114 GB, free: 9.125 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.396e-06/0.4148, allocations: 4.062 kB / 0.9114 GB, free: 9.121 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001245/0.4161, allocations: 0.9158 MB / 0.9123 GB, free: 8.207 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001647/0.4177, allocations: 269.5 kB / 0.9125 GB, free: 7.945 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01113/0.4289, allocations: 6.026 MB / 0.9184 GB, free: 1.734 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4329/0.8618, allocations: 2.122 MB / 0.9205 GB, free: 125.5 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002486/0.8644, allocations: 0.7389 MB / 0.9212 GB, free: 125.4 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000393/0.8648, allocations: 86.55 kB / 0.9213 GB, free: 125.4 MB / 0.7325 GB Notification: Performance of SimCode: time 1.884e-06/0.8648, allocations: 0 / 0.9213 GB, free: 125.4 MB / 0.7325 GB Notification: Performance of Templates: time 0.03317/0.898, allocations: 16.13 MB / 0.9371 GB, free: 123.1 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1) Environment - environmentSimulation: