Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.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.LoadCtrl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001553/0.001553, allocations: 111.1 kB / 16.38 MB, free: 6.41 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.001779/0.001779, allocations: 191 kB / 17.31 MB, free: 5.801 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.488/1.488, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.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.849/1.849, allocations: 292.3 MB / 0.5496 GB, free: 17.63 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.001417/0.001417, allocations: 66.25 kB / 0.6729 GB, free: 5.824 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2698/0.2712, allocations: 114.6 MB / 0.7848 GB, free: 3.152 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl): time 0.4416/0.7129, allocations: 19.23 MB / 0.8036 GB, free: 39.63 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01553/0.7285, allocations: 9.715 MB / 0.8131 GB, free: 33.03 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002964/0.7315, allocations: 69.5 kB / 0.8131 GB, free: 33.02 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.004674/0.7363, allocations: 1.664 MB / 0.8148 GB, free: 32.03 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.004414/0.7407, allocations: 1.317 MB / 0.8161 GB, free: 31.25 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004419/0.7451, allocations: 1.521 MB / 0.8175 GB, free: 30.39 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.005663/0.7508, allocations: 3.98 MB / 0.8214 GB, free: 28.66 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008554/0.7594, allocations: 5.383 MB / 0.8267 GB, free: 26.74 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005103/0.7645, allocations: 1.837 MB / 0.8285 GB, free: 25.94 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005348/0.7699, allocations: 1.959 MB / 0.8304 GB, free: 25.09 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.002585/0.7725, allocations: 376.2 kB / 0.8307 GB, free: 25.09 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003931/0.7765, allocations: 0.7035 MB / 0.8314 GB, free: 24.96 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.003828/0.7803, allocations: 1.442 MB / 0.8328 GB, free: 24.36 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.005035/0.7854, allocations: 1.58 MB / 0.8344 GB, free: 23.35 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.008866/0.7943, allocations: 5.404 MB / 0.8397 GB, free: 21.66 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.7943, allocations: 1.844 kB / 0.8397 GB, free: 21.66 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.134e-06/0.7943, allocations: 0 / 0.8397 GB, free: 21.66 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001671/0.7945, allocations: 0 / 0.8397 GB, free: 21.66 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: 652 * Number of variables: 652 Notification: Performance of Generate backend data structure: time 0.01/0.8045, allocations: 2.929 MB / 0.8425 GB, free: 19.95 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.8046, allocations: 7.969 kB / 0.8425 GB, free: 19.95 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003951/0.8085, allocations: 0.5165 MB / 0.843 GB, free: 19.79 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004111/0.8127, allocations: 1.547 MB / 0.8445 GB, free: 18.95 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002298/0.8129, allocations: 216.3 kB / 0.8448 GB, free: 18.83 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009833/0.8139, allocations: 254.5 kB / 0.845 GB, free: 18.74 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009812/0.8237, allocations: 3.893 MB / 0.8488 GB, free: 16.78 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001243/0.8239, allocations: 6.469 kB / 0.8488 GB, free: 16.77 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005898/0.8245, allocations: 106.1 kB / 0.8489 GB, free: 16.69 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005445/0.825, allocations: 183.9 kB / 0.8491 GB, free: 16.64 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009267/0.8343, allocations: 3.129 MB / 0.8521 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02171/0.8561, allocations: 13.6 MB / 0.8654 GB, free: 3.34 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001292/0.8574, allocations: 0.7344 MB / 0.8661 GB, free: 2.949 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007232/0.8582, allocations: 0.5237 MB / 0.8666 GB, free: 2.676 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001375/0.8583, allocations: 87.83 kB / 0.8667 GB, free: 2.582 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007524/0.8591, allocations: 0.5939 MB / 0.8673 GB, free: 2.133 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=56): time 3.497e-06/0.8591, allocations: 0 / 0.8673 GB, free: 2.133 MB / 0.6544 GB Notification: Performance of matching and sorting (n=78): time 0.02813/0.8872, allocations: 8.692 MB / 0.8758 GB, free: 11.86 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002201/0.8875, allocations: 402.2 kB / 0.8762 GB, free: 11.38 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002341/0.8899, allocations: 1.246 MB / 0.8774 GB, free: 10.12 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.000178/0.8901, allocations: 49.7 kB / 0.8774 GB, free: 10.07 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001425/0.8915, allocations: 1.25 MB / 0.8787 GB, free: 8.801 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004124/0.8919, allocations: 272.2 kB / 0.8789 GB, free: 8.531 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007205/0.8926, allocations: 315.2 kB / 0.8792 GB, free: 8.215 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.8928, allocations: 309 kB / 0.8795 GB, free: 7.91 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001297/0.8941, allocations: 0.7543 MB / 0.8803 GB, free: 7.152 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00179/0.8959, allocations: 1.465 MB / 0.8817 GB, free: 5.359 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003375/0.8993, allocations: 2.379 MB / 0.884 GB, free: 2.633 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.81e-05/0.8994, allocations: 4 kB / 0.884 GB, free: 2.629 MB / 0.67 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.009317/0.9087, allocations: 3.512 MB / 0.8874 GB, free: 15.09 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 9.494e-05/0.9088, allocations: 76.17 kB / 0.8875 GB, free: 15 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-05/0.9089, allocations: 20 kB / 0.8875 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005712/0.9146, allocations: 1.334 MB / 0.8888 GB, free: 13.63 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001285/0.9159, allocations: 303.5 kB / 0.8891 GB, free: 13.34 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01668/0.9326, allocations: 11.46 MB / 0.9003 GB, free: 1.316 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001976/0.9346, allocations: 151.4 kB / 0.9005 GB, free: 1.168 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000201/0.9349, allocations: 76 kB / 0.9005 GB, free: 1.094 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003044/0.9379, allocations: 1.62 MB / 0.9021 GB, free: 15.46 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001651/0.9396, allocations: 1.434 MB / 0.9035 GB, free: 13.71 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002764/0.9424, allocations: 2.339 MB / 0.9058 GB, free: 11.02 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.023e-05/0.9424, allocations: 4 kB / 0.9058 GB, free: 11.02 MB / 0.7012 GB Notification: Performance of matching and sorting (n=192) (initialization_lambda0): time 0.007251/0.9496, allocations: 3.097 MB / 0.9088 GB, free: 7.898 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 6.463e-05/0.9497, allocations: 73.42 kB / 0.9089 GB, free: 7.816 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.725e-05/0.9498, allocations: 24 kB / 0.9089 GB, free: 7.793 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003556/0.9533, allocations: 0.8643 MB / 0.9098 GB, free: 6.926 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001394/0.9548, allocations: 331.4 kB / 0.9101 GB, free: 6.602 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009404/0.9642, allocations: 6.312 MB / 0.9163 GB, free: 4 kB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002336/0.9665, allocations: 123.6 kB / 0.9164 GB, free: 15.88 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002014/0.9668, allocations: 76.08 kB / 0.9164 GB, free: 15.81 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 105 * Number of states: 0 () * Number of discrete variables: 6 (load_ctrl.vCTRL_1.ctrl.tSwitch,$PRE.load_ctrl.vCTRL_1.ctrl.tSwitch,load_ctrl.vCTRL_1.ctrl.connected,$PRE.load_ctrl.vCTRL_1.ctrl.connected,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (162): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,6), (2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0005588/0.9673, allocations: 333.4 kB / 0.9168 GB, free: 15.47 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002286/0.9676, allocations: 130.5 kB / 0.9169 GB, free: 15.34 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00707/0.9747, allocations: 2.531 MB / 0.9194 GB, free: 12.78 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.892e-05/0.9747, allocations: 3.984 kB / 0.9194 GB, free: 12.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.9747, allocations: 0 / 0.9194 GB, free: 12.77 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000874/0.9756, allocations: 327.4 kB / 0.9197 GB, free: 12.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000203/0.9758, allocations: 19.98 kB / 0.9197 GB, free: 12.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008141/0.9766, allocations: 71.91 kB / 0.9198 GB, free: 12.34 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000266/0.9769, allocations: 88.3 kB / 0.9198 GB, free: 12.26 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00578/0.9827, allocations: 2.517 MB / 0.9223 GB, free: 9.695 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003326/0.986, allocations: 2.303 MB / 0.9246 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009611/0.987, allocations: 0.6407 MB / 0.9252 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001543/0.9886, allocations: 0.8385 MB / 0.926 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of Backend: time 4.51e-07/0.9886, allocations: 0 / 0.926 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.009993/0.9986, allocations: 4.202 MB / 0.9301 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of SimCode: time 0.008402/1.007, allocations: 4.792 MB / 0.9348 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of Templates: time 0.06419/1.071, allocations: 36.78 MB / 0.9707 GB, free: 8.324 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.pipe 2>&1)