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 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") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.344/2.344, allocations: 251.1 MB / 266.1 MB, free: 11.62 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.001659/0.001658, allocations: 183.3 kB / 325.6 MB, free: 2.832 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.593/2.593, allocations: 205.4 MB / 0.5766 GB, free: 20.78 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.001089/0.001089, allocations: 100.5 kB / 0.6811 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004856/0.0004857, allocations: 13.31 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.197/0.1975, allocations: 106.3 MB / 0.8989 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl): time 0.02858/0.2262, allocations: 16.89 MB / 0.9154 GB, free: 48.54 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01888/0.2451, allocations: 8.932 MB / 0.9241 GB, free: 39.59 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001789/0.247, allocations: 51.75 kB / 0.9242 GB, free: 39.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001594/0.2486, allocations: 421.4 kB / 0.9246 GB, free: 39.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.00515/0.2538, allocations: 1.244 MB / 0.9258 GB, free: 37.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0038/0.2576, allocations: 0.9185 MB / 0.9267 GB, free: 36.96 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.004119/0.2617, allocations: 1.923 MB / 0.9285 GB, free: 35.03 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01052/0.2723, allocations: 5.585 MB / 0.934 GB, free: 29.37 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002549/0.2749, allocations: 1.118 MB / 0.9351 GB, free: 28.25 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002331/0.2773, allocations: 1.106 MB / 0.9362 GB, free: 27.14 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0006157/0.2779, allocations: 155.9 kB / 0.9363 GB, free: 26.99 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001482/0.2794, allocations: 339.7 kB / 0.9366 GB, free: 26.66 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.001481/0.2809, allocations: 1.064 MB / 0.9377 GB, free: 25.59 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0009923/0.282, allocations: 0.5278 MB / 0.9382 GB, free: 25.05 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.005653/0.2876, allocations: 4.469 MB / 0.9426 GB, free: 20.57 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2877, allocations: 0 / 0.9426 GB, free: 20.57 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.456e-06/0.2877, allocations: 0 / 0.9426 GB, free: 20.57 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001607/0.2879, allocations: 0 / 0.9426 GB, free: 20.57 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.00767/0.2956, allocations: 2.412 MB / 0.9449 GB, free: 18.09 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.2956, allocations: 8.031 kB / 0.9449 GB, free: 18.08 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004617/0.3003, allocations: 0.5433 MB / 0.9455 GB, free: 17.54 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004466/0.3048, allocations: 1.482 MB / 0.9469 GB, free: 16.01 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002682/0.3051, allocations: 214.6 kB / 0.9471 GB, free: 15.79 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009096/0.306, allocations: 247.9 kB / 0.9473 GB, free: 15.55 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01207/0.3181, allocations: 3.862 MB / 0.9511 GB, free: 11.61 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001089/0.3183, allocations: 0 / 0.9511 GB, free: 11.61 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005236/0.3188, allocations: 104 kB / 0.9512 GB, free: 11.51 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000732/0.3196, allocations: 192.8 kB / 0.9514 GB, free: 11.32 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009726/0.3293, allocations: 3.111 MB / 0.9544 GB, free: 8.191 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04277/0.3721, allocations: 13.76 MB / 0.9679 GB, free: 9.301 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003689/0.3759, allocations: 0.7509 MB / 0.9686 GB, free: 8.543 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003073/0.3762, allocations: 89.53 kB / 0.9687 GB, free: 8.438 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0021/0.3784, allocations: 0.5969 MB / 0.9693 GB, free: 7.781 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=56): time 1.005e-05/0.3784, allocations: 0 / 0.9693 GB, free: 7.781 MB / 0.6198 GB Notification: Performance of matching and sorting (n=78): time 0.06521/0.4436, allocations: 8.947 MB / 0.978 GB, free: 14.63 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002654/0.444, allocations: 398.2 kB / 0.9784 GB, free: 14.15 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00404/0.448, allocations: 1.234 MB / 0.9796 GB, free: 12.9 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0003339/0.4484, allocations: 45.7 kB / 0.9796 GB, free: 12.85 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.001871/0.4503, allocations: 1.251 MB / 0.9809 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005138/0.4509, allocations: 284.1 kB / 0.9811 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002016/0.4511, allocations: 32 kB / 0.9812 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002272/0.4513, allocations: 369.9 kB / 0.9815 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002172/0.4535, allocations: 0.7495 MB / 0.9823 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002907/0.4565, allocations: 1.445 MB / 0.9837 GB, free: 8.375 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003/0.4595, allocations: 1.107 MB / 0.9847 GB, free: 7.258 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.508e-05/0.4596, allocations: 8 kB / 0.9848 GB, free: 7.25 MB / 0.6355 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.01613/0.4757, allocations: 3.567 MB / 0.9882 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.004209/0.48, allocations: 9.187 MB / 0.9972 GB, free: 9.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.48e-05/0.4801, allocations: 27.94 kB / 0.9972 GB, free: 9.703 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0113/0.4914, allocations: 1.427 MB / 0.9986 GB, free: 8.262 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002198/0.4937, allocations: 303.5 kB / 0.9989 GB, free: 7.965 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03052/0.5242, allocations: 10.99 MB / 1.01 GB, free: 12.44 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002994/0.5273, allocations: 143.6 kB / 1.01 GB, free: 12.3 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003368/0.5277, allocations: 83.92 kB / 1.01 GB, free: 12.21 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.5277, allocations: 4 kB / 1.01 GB, free: 12.21 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01565/0.5434, allocations: 3.019 MB / 1.013 GB, free: 9.172 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000138/0.5436, allocations: 20 kB / 1.013 GB, free: 9.152 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008038/0.5516, allocations: 0.9381 MB / 1.014 GB, free: 8.207 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00248/0.5542, allocations: 335.4 kB / 1.014 GB, free: 7.879 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01614/0.5703, allocations: 6.102 MB / 1.02 GB, free: 1.512 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003155/0.5735, allocations: 131.6 kB / 1.02 GB, free: 1.383 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003564/0.5739, allocations: 80.09 kB / 1.02 GB, free: 1.305 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.003383/0.5773, allocations: 1.115 MB / 1.021 GB, free: 176 kB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005577/0.5779, allocations: 130.5 kB / 1.021 GB, free: 44 kB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02545/0.6034, allocations: 2.589 MB / 1.024 GB, free: 13.42 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.385e-05/0.6035, allocations: 15.95 kB / 1.024 GB, free: 13.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.29e-05/0.6035, allocations: 7.938 kB / 1.024 GB, free: 13.39 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.309e-05/0.6036, allocations: 3.984 kB / 1.024 GB, free: 13.39 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05007/0.6536, allocations: 5.116 MB / 1.029 GB, free: 8.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.355e-05/0.6538, allocations: 4 kB / 1.029 GB, free: 8.176 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001212/0.655, allocations: 100.1 kB / 1.029 GB, free: 8.078 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01356/0.6686, allocations: 1.318 MB / 1.03 GB, free: 6.746 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002417/0.6689, allocations: 20 kB / 1.03 GB, free: 6.727 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0335/0.7024, allocations: 10.66 MB / 1.041 GB, free: 11.54 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.009e-05/0.7025, allocations: 7.938 kB / 1.041 GB, free: 11.53 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01887/0.7214, allocations: 3.687 MB / 1.044 GB, free: 7.734 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001388/0.7228, allocations: 323.4 kB / 1.045 GB, free: 7.398 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004744/0.7233, allocations: 20 kB / 1.045 GB, free: 7.379 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002308/0.7256, allocations: 91.92 kB / 1.045 GB, free: 7.289 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005889/0.7262, allocations: 76.36 kB / 1.045 GB, free: 7.215 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001422/0.7264, allocations: 23.98 kB / 1.045 GB, free: 7.191 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002487/0.7289, allocations: 0.8229 MB / 1.046 GB, free: 6.363 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.9e-07/0.7289, allocations: 0 / 1.046 GB, free: 6.363 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.006995/0.7359, allocations: 0.8945 MB / 1.047 GB, free: 5.469 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.0004839/0.7365, allocations: 123.2 kB / 1.047 GB, free: 5.336 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01998/0.7565, allocations: 4.432 MB / 1.051 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.672e-05/0.7566, allocations: 4 kB / 1.051 GB, free: 0.7773 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.6507/1.407, allocations: 1.596 MB / 1.053 GB, free: 139.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002579/1.41, allocations: 331.4 kB / 1.053 GB, free: 139.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01082/1.421, allocations: 5.057 MB / 1.058 GB, free: 137.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003355/1.424, allocations: 2.068 MB / 1.06 GB, free: 136.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003285/1.428, allocations: 0.6673 MB / 1.061 GB, free: 136.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003868/1.428, allocations: 81.12 kB / 1.061 GB, free: 136.6 MB / 0.698 GB Notification: Performance of SimCode: time 1.352e-06/1.428, allocations: 0 / 1.061 GB, free: 136.6 MB / 0.698 GB Notification: Performance of Templates: time 0.07645/1.504, allocations: 29.29 MB / 1.089 GB, free: 125.3 MB / 0.698 GB