Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.231/2.231, allocations: 251.3 MB / 266.2 MB, free: 11.52 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001432/0.001432, allocations: 176.8 kB / 325.8 MB, free: 2.801 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.578/2.578, allocations: 205.4 MB / 0.5767 GB, free: 20.8 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009455/0.0009453, allocations: 92.48 kB / 0.6812 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000571/0.0005713, allocations: 13.47 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2105/0.2112, allocations: 106.3 MB / 0.899 GB, free: 65.4 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl): time 0.02501/0.2362, allocations: 17.44 MB / 0.9161 GB, free: 47.91 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01728/0.2536, allocations: 9.116 MB / 0.925 GB, free: 38.77 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002002/0.2556, allocations: 63.75 kB / 0.925 GB, free: 38.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001547/0.2572, allocations: 345.4 kB / 0.9254 GB, free: 38.37 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.004162/0.2614, allocations: 1.107 MB / 0.9264 GB, free: 37.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003127/0.2646, allocations: 0.6838 MB / 0.9271 GB, free: 36.57 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.00632/0.2709, allocations: 4.521 MB / 0.9315 GB, free: 32.04 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01145/0.2824, allocations: 5.847 MB / 0.9372 GB, free: 26.12 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002953/0.2854, allocations: 1.312 MB / 0.9385 GB, free: 24.8 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003358/0.2889, allocations: 1.635 MB / 0.9401 GB, free: 23.16 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0007698/0.2897, allocations: 152 kB / 0.9403 GB, free: 23.02 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001764/0.2915, allocations: 359.6 kB / 0.9406 GB, free: 22.66 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.001859/0.2934, allocations: 1.154 MB / 0.9417 GB, free: 21.51 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.001084/0.2945, allocations: 0.5239 MB / 0.9422 GB, free: 20.98 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.005633/0.3002, allocations: 4.488 MB / 0.9466 GB, free: 16.48 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.3002, allocations: 0 / 0.9466 GB, free: 16.48 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.905e-06/0.3003, allocations: 0 / 0.9466 GB, free: 16.48 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001499/0.3004, allocations: 0 / 0.9466 GB, free: 16.48 MB / 0.6042 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.007614/0.308, allocations: 2.416 MB / 0.949 GB, free: 13.99 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.3081, allocations: 12.03 kB / 0.949 GB, free: 13.98 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004478/0.3126, allocations: 0.5168 MB / 0.9495 GB, free: 13.46 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00435/0.317, allocations: 1.479 MB / 0.9509 GB, free: 11.93 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002349/0.3173, allocations: 215.2 kB / 0.9511 GB, free: 11.71 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009007/0.3182, allocations: 247.8 kB / 0.9514 GB, free: 11.47 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01085/0.3291, allocations: 3.882 MB / 0.9552 GB, free: 7.516 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.424e-05/0.3292, allocations: 3.938 kB / 0.9552 GB, free: 7.512 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003902/0.3296, allocations: 111.9 kB / 0.9553 GB, free: 7.402 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007395/0.3304, allocations: 181 kB / 0.9555 GB, free: 7.223 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01281/0.3432, allocations: 3.111 MB / 0.9585 GB, free: 4.098 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04489/0.3881, allocations: 13.77 MB / 0.9719 GB, free: 5.184 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003536/0.3918, allocations: 0.7429 MB / 0.9727 GB, free: 4.434 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002256/0.3941, allocations: 0.518 MB / 0.9732 GB, free: 3.91 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003143/0.3944, allocations: 93.52 kB / 0.9733 GB, free: 3.801 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002098/0.3965, allocations: 0.5929 MB / 0.9738 GB, free: 3.156 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=56): time 5.761e-06/0.3966, allocations: 0 / 0.9738 GB, free: 3.156 MB / 0.6198 GB Notification: Performance of matching and sorting (n=78): time 0.06665/0.4633, allocations: 8.845 MB / 0.9825 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003483/0.4637, allocations: 402.2 kB / 0.9829 GB, free: 9.645 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003761/0.4675, allocations: 1.238 MB / 0.9841 GB, free: 8.395 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0002856/0.4678, allocations: 45.7 kB / 0.9841 GB, free: 8.344 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.002188/0.47, allocations: 1.251 MB / 0.9853 GB, free: 7.074 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006894/0.4707, allocations: 280.2 kB / 0.9856 GB, free: 6.797 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000246/0.471, allocations: 32 kB / 0.9856 GB, free: 6.766 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0003397/0.4713, allocations: 365.9 kB / 0.986 GB, free: 6.402 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00283/0.4742, allocations: 0.7456 MB / 0.9867 GB, free: 5.656 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00391/0.4781, allocations: 1.457 MB / 0.9881 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003976/0.4822, allocations: 1.099 MB / 0.9892 GB, free: 2.758 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.108e-05/0.4822, allocations: 8 kB / 0.9892 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.02093/0.5032, allocations: 3.551 MB / 0.9927 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.001261/0.5045, allocations: 0.826 MB / 0.9935 GB, free: 14 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.866e-05/0.5046, allocations: 24 kB / 0.9935 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0142/0.5188, allocations: 1.419 MB / 0.9949 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002704/0.5216, allocations: 303.5 kB / 0.9952 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03498/0.5566, allocations: 10.67 MB / 1.006 GB, free: 1.039 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003697/0.5604, allocations: 147.5 kB / 1.006 GB, free: 0.8945 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004695/0.5609, allocations: 76 kB / 1.006 GB, free: 0.8203 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.561, allocations: 4 kB / 1.006 GB, free: 0.8164 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01683/0.5778, allocations: 3.019 MB / 1.009 GB, free: 13.77 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001205/0.578, allocations: 28.16 kB / 1.009 GB, free: 13.75 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009263/0.5873, allocations: 0.9456 MB / 1.01 GB, free: 12.8 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003191/0.5905, allocations: 331.4 kB / 1.01 GB, free: 12.47 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02096/0.6115, allocations: 5.926 MB / 1.016 GB, free: 6.277 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003209/0.6148, allocations: 131.6 kB / 1.016 GB, free: 6.148 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004691/0.6153, allocations: 83.98 kB / 1.016 GB, free: 6.066 MB / 0.6667 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 ($whenCondition1,$whenCondition2,$PRE.load_ctrl.vCTRL_1.ctrl.connected,load_ctrl.vCTRL_1.ctrl.connected,$PRE.load_ctrl.vCTRL_1.ctrl.tSwitch,load_ctrl.vCTRL_1.ctrl.tSwitch) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 2 {2 6,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.003633/0.619, allocations: 1.109 MB / 1.017 GB, free: 4.941 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005994/0.6196, allocations: 138.4 kB / 1.017 GB, free: 4.805 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01632/0.6359, allocations: 2.578 MB / 1.02 GB, free: 2.188 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.838e-05/0.636, allocations: 11.98 kB / 1.02 GB, free: 2.176 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.161e-05/0.636, allocations: 4 kB / 1.02 GB, free: 2.172 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.963e-05/0.6361, allocations: 3.938 kB / 1.02 GB, free: 2.168 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02508/0.6612, allocations: 5.241 MB / 1.025 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.704e-05/0.6613, allocations: 4 kB / 1.025 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001279/0.6626, allocations: 95.86 kB / 1.025 GB, free: 12.71 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02587/0.6884, allocations: 1.326 MB / 1.026 GB, free: 11.37 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002564/0.6888, allocations: 23.94 kB / 1.026 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05309/0.7419, allocations: 10.34 MB / 1.036 GB, free: 484 kB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.167e-05/0.7419, allocations: 8.016 kB / 1.036 GB, free: 476 kB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01477/0.7567, allocations: 3.572 MB / 1.04 GB, free: 12.83 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009871/0.7578, allocations: 331.4 kB / 1.04 GB, free: 12.49 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003018/0.7581, allocations: 20 kB / 1.04 GB, free: 12.47 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001632/0.7597, allocations: 87.94 kB / 1.04 GB, free: 12.38 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003894/0.7601, allocations: 72.41 kB / 1.04 GB, free: 12.31 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.713e-05/0.7602, allocations: 23.94 kB / 1.04 GB, free: 12.29 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001804/0.7621, allocations: 0.8268 MB / 1.041 GB, free: 11.46 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.9e-07/0.7621, allocations: 0 / 1.041 GB, free: 11.46 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00442/0.7665, allocations: 0.8906 MB / 1.042 GB, free: 10.57 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 1 (load_ctrl.vCTRL_1.y) * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,load_ctrl.vCTRL_1.ctrl.connected,load_ctrl.vCTRL_1.ctrl.tSwitch) * Number of discrete states: 4 ($whenCondition2,load_ctrl.vCTRL_1.ctrl.connected,load_ctrl.vCTRL_1.ctrl.tSwitch,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 2 {2 6,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003468/0.7669, allocations: 127.1 kB / 1.042 GB, free: 10.43 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01512/0.782, allocations: 4.432 MB / 1.047 GB, free: 5.875 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.165e-05/0.7821, allocations: 4.188 kB / 1.047 GB, free: 5.871 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.005924/0.788, allocations: 1.598 MB / 1.048 GB, free: 4.211 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003151/0.7912, allocations: 345.2 kB / 1.048 GB, free: 3.875 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7347/1.526, allocations: 5.054 MB / 1.053 GB, free: 137.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003694/1.53, allocations: 2.024 MB / 1.055 GB, free: 137.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.004137/1.534, allocations: 0.6562 MB / 1.056 GB, free: 137.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003336/1.534, allocations: 80.33 kB / 1.056 GB, free: 137.1 MB / 0.698 GB Notification: Performance of SimCode: time 9.32e-07/1.534, allocations: 0 / 1.056 GB, free: 137.1 MB / 0.698 GB Notification: Performance of Templates: time 0.08073/1.615, allocations: 29.4 MB / 1.085 GB, free: 128.1 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.pipe 2>&1)