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.001146/0.001146, allocations: 109.4 kB / 15.69 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.001143/0.001143, allocations: 188.6 kB / 16.62 MB, free: 6.582 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.471/1.471, allocations: 205.1 MB / 222.5 MB, free: 4.484 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.794/1.794, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001378/0.001378, allocations: 74.78 kB / 0.6723 GB, free: 25.9 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.243/0.2444, allocations: 114.5 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.0253/0.2698, allocations: 20.41 MB / 0.8041 GB, free: 8.27 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01481/0.2846, allocations: 7.585 MB / 0.8115 GB, free: 0.6641 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002483/0.2871, allocations: 59.81 kB / 0.8115 GB, free: 0.6055 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.004001/0.2912, allocations: 1.356 MB / 0.8128 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00389/0.2952, allocations: 0.9684 MB / 0.8138 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005025/0.3002, allocations: 2.006 MB / 0.8157 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.007533/0.3077, allocations: 4.324 MB / 0.82 GB, free: 7.934 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01022/0.318, allocations: 6.16 MB / 0.826 GB, free: 1.703 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003606/0.3217, allocations: 1.839 MB / 0.8278 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003832/0.3255, allocations: 2.201 MB / 0.8299 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001187/0.3268, allocations: 428 kB / 0.8303 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002266/0.329, allocations: 0.9129 MB / 0.8312 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002126/0.3312, allocations: 1.653 MB / 0.8328 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002183/0.3334, allocations: 1.712 MB / 0.8345 GB, free: 8.945 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.006685/0.3401, allocations: 6.166 MB / 0.8405 GB, free: 2.762 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 1.719e-05/0.3401, allocations: 0 / 0.8405 GB, free: 2.762 MB / 0.6544 GB Notification: Performance of FrontEnd: time 6.853e-06/0.3402, allocations: 4 kB / 0.8405 GB, free: 2.758 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002104/0.3404, allocations: 0 / 0.8405 GB, free: 2.758 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.007986/0.3484, allocations: 3.044 MB / 0.8435 GB, free: 15.65 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.763e-05/0.3484, allocations: 12.03 kB / 0.8435 GB, free: 15.64 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003066/0.3515, allocations: 0.6805 MB / 0.8442 GB, free: 14.96 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002859/0.3544, allocations: 1.563 MB / 0.8457 GB, free: 13.35 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001721/0.3546, allocations: 226.1 kB / 0.8459 GB, free: 13.13 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004683/0.3551, allocations: 280.4 kB / 0.8462 GB, free: 12.86 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009123/0.3642, allocations: 5.055 MB / 0.8511 GB, free: 7.613 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.436e-05/0.3643, allocations: 11.84 kB / 0.8511 GB, free: 7.602 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003196/0.3646, allocations: 120 kB / 0.8513 GB, free: 7.484 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002324/0.3649, allocations: 204.6 kB / 0.8515 GB, free: 7.281 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007309/0.3722, allocations: 4.181 MB / 0.8555 GB, free: 3.086 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0262/0.3984, allocations: 22.86 MB / 0.8779 GB, free: 10.08 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002837/0.4013, allocations: 1.708 MB / 0.8795 GB, free: 8.328 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001571/0.4029, allocations: 1.13 MB / 0.8806 GB, free: 7.188 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001983/0.4031, allocations: 101.7 kB / 0.8807 GB, free: 7.07 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.843e-05/0.4031, allocations: 47.16 kB / 0.8808 GB, free: 7.016 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=84): time 3.597e-06/0.4032, allocations: 4 kB / 0.8808 GB, free: 7.012 MB / 0.7012 GB Notification: Performance of matching and sorting (n=87): time 0.007024/0.4102, allocations: 3.988 MB / 0.8847 GB, free: 2.988 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/0.4103, allocations: 141.2 kB / 0.8848 GB, free: 2.82 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001061/0.4114, allocations: 0.8409 MB / 0.8856 GB, free: 1.973 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.676e-05/0.4115, allocations: 42.27 kB / 0.8857 GB, free: 1.926 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007482/0.4122, allocations: 1.17 MB / 0.8868 GB, free: 0.7383 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003032/0.4126, allocations: 311.6 kB / 0.8871 GB, free: 440 kB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004494/0.413, allocations: 270.5 kB / 0.8874 GB, free: 164 kB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0002669/0.4133, allocations: 418.6 kB / 0.8878 GB, free: 15.74 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001334/0.4146, allocations: 0.7984 MB / 0.8886 GB, free: 14.94 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001481/0.4161, allocations: 1.291 MB / 0.8898 GB, free: 13.43 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002829/0.419, allocations: 2.143 MB / 0.8919 GB, free: 11.09 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.786e-06/0.419, allocations: 4 kB / 0.8919 GB, free: 11.09 MB / 0.7169 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003408/0.4224, allocations: 2.168 MB / 0.894 GB, free: 8.91 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.725e-05/0.4224, allocations: 10.66 kB / 0.894 GB, free: 8.902 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.076e-05/0.4225, allocations: 16 kB / 0.8941 GB, free: 8.887 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.528e-05/0.4225, allocations: 20 kB / 0.8941 GB, free: 8.867 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001508/0.424, allocations: 407.3 kB / 0.8945 GB, free: 8.469 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.299e-05/0.4241, allocations: 35.86 kB / 0.8945 GB, free: 8.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001154/0.4252, allocations: 195.5 kB / 0.8947 GB, free: 8.242 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001114/0.4253, allocations: 67.98 kB / 0.8947 GB, free: 8.176 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002643/0.428, allocations: 1.662 MB / 0.8964 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001341/0.4294, allocations: 1.17 MB / 0.8975 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002309/0.4317, allocations: 1.871 MB / 0.8993 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.075e-05/0.4317, allocations: 11.94 kB / 0.8994 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.002874/0.4346, allocations: 1.878 MB / 0.9012 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/0.4346, allocations: 12 kB / 0.9012 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.627e-05/0.4346, allocations: 19.98 kB / 0.9012 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.381e-05/0.4347, allocations: 24.78 kB / 0.9012 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001266/0.4359, allocations: 359.4 kB / 0.9016 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.124e-05/0.436, allocations: 35.84 kB / 0.9016 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001114/0.4371, allocations: 167.3 kB / 0.9018 GB, free: 0.5195 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.965e-05/0.4372, allocations: 52 kB / 0.9018 GB, free: 480 kB / 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004062/0.4376, allocations: 267.8 kB / 0.9021 GB, free: 204 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002396/0.4379, allocations: 102.8 kB / 0.9022 GB, free: 100 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002943/0.4408, allocations: 1.839 MB / 0.904 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/0.4408, allocations: 12 kB / 0.904 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.4409, allocations: 0 / 0.904 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.254e-05/0.4409, allocations: 7.984 kB / 0.904 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01299/0.4539, allocations: 9.577 MB / 0.9133 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-05/0.4539, allocations: 12 kB / 0.9134 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001238/0.4552, allocations: 315.5 kB / 0.9137 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.025e-05/0.4552, allocations: 16 kB / 0.9137 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.098e-05/0.4553, allocations: 31.98 kB / 0.9137 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.029e-05/0.4553, allocations: 27.81 kB / 0.9137 GB, free: 4 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.11e-05/0.4553, allocations: 15.94 kB / 0.9137 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002887/0.4582, allocations: 2.406 MB / 0.9161 GB, free: 1.422 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006711/0.4589, allocations: 375.6 kB / 0.9165 GB, free: 1.035 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001614/0.4591, allocations: 35.94 kB / 0.9165 GB, free: 1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008876/0.46, allocations: 139.7 kB / 0.9166 GB, free: 0.8633 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001791/0.4602, allocations: 87.67 kB / 0.9167 GB, free: 0.7773 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-05/0.4602, allocations: 40 kB / 0.9167 GB, free: 0.7383 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007882/0.461, allocations: 0.5888 MB / 0.9173 GB, free: 160 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.853e-06/0.4611, allocations: 0 / 0.9173 GB, free: 160 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.4268/0.8879, allocations: 0.7492 MB / 0.918 GB, free: 127.2 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003077/0.8882, allocations: 138.9 kB / 0.9182 GB, free: 127.1 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005361/0.8936, allocations: 2.859 MB / 0.921 GB, free: 127 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.712e-05/0.8936, allocations: 5.562 kB / 0.921 GB, free: 127 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001345/0.895, allocations: 0.9109 MB / 0.9219 GB, free: 127 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001858/0.8968, allocations: 306.2 kB / 0.9222 GB, free: 126.9 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007493/0.9043, allocations: 4.978 MB / 0.927 GB, free: 124.6 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001965/0.9063, allocations: 2.123 MB / 0.9291 GB, free: 123.5 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001888/0.9082, allocations: 0.7353 MB / 0.9298 GB, free: 123.5 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003619/0.9086, allocations: 83.08 kB / 0.9299 GB, free: 123.5 MB / 0.7325 GB Notification: Performance of SimCode: time 1.303e-06/0.9086, allocations: 0 / 0.9299 GB, free: 123.5 MB / 0.7325 GB Notification: Performance of Templates: time 0.03468/0.9433, allocations: 17.36 MB / 0.9468 GB, free: 119.6 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.makefile (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)