Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.443/2.443, allocations: 287.9 MB / 302.9 MB, free: 8.227 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00229/0.00229, allocations: 175 kB / 371.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.19/2.19, allocations: 205.4 MB / 0.6301 GB, free: 10.29 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001041/0.00104, allocations: 90.42 kB / 0.7434 GB, free: 6.309 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004574/0.0004576, allocations: 11 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.1539, allocations: 115.3 MB / 0.9788 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl): time 0.01925/0.1731, allocations: 16.89 MB / 0.9953 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0137/0.1869, allocations: 8.927 MB / 1.004 GB, free: 2.281 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001597/0.1885, allocations: 55.75 kB / 1.004 GB, free: 2.227 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001054/0.1896, allocations: 421.4 kB / 1.004 GB, free: 1.812 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.004022/0.1936, allocations: 1.253 MB / 1.006 GB, free: 0.5586 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003152/0.1968, allocations: 0.9045 MB / 1.007 GB, free: 15.65 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.003797/0.2006, allocations: 1.933 MB / 1.008 GB, free: 13.72 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01135/0.212, allocations: 5.568 MB / 1.014 GB, free: 8.082 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002416/0.2144, allocations: 1.126 MB / 1.015 GB, free: 6.953 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001989/0.2165, allocations: 1.106 MB / 1.016 GB, free: 5.844 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0004834/0.217, allocations: 152 kB / 1.016 GB, free: 5.695 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001221/0.2182, allocations: 343.6 kB / 1.017 GB, free: 5.359 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001419/0.2196, allocations: 1.064 MB / 1.018 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0008377/0.2205, allocations: 0.5316 MB / 1.018 GB, free: 3.754 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.006306/0.2268, allocations: 4.461 MB / 1.022 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.059e-06/0.2269, allocations: 4 kB / 1.022 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.584e-06/0.2269, allocations: 4 kB / 1.022 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.578e-05/0.227, allocations: 0 / 1.022 GB, free: 15.27 MB / 0.6511 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.006051/0.233, allocations: 2.415 MB / 1.025 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.2331, allocations: 12.03 kB / 1.025 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00395/0.2371, allocations: 0.5355 MB / 1.025 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003845/0.2409, allocations: 1.478 MB / 1.027 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002548/0.2412, allocations: 210.6 kB / 1.027 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000672/0.2419, allocations: 244 kB / 1.027 GB, free: 10.26 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009339/0.2513, allocations: 3.862 MB / 1.031 GB, free: 6.32 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-05/0.2514, allocations: 7.906 kB / 1.031 GB, free: 6.312 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00036/0.2518, allocations: 99.98 kB / 1.031 GB, free: 6.215 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000542/0.2523, allocations: 192.9 kB / 1.031 GB, free: 6.023 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007765/0.2601, allocations: 3.115 MB / 1.034 GB, free: 2.895 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02368/0.2838, allocations: 13.76 MB / 1.048 GB, free: 3.996 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001871/0.2857, allocations: 0.7493 MB / 1.048 GB, free: 3.242 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001906/0.2859, allocations: 97.45 kB / 1.049 GB, free: 3.129 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001477/0.2874, allocations: 0.5968 MB / 1.049 GB, free: 2.473 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=56): time 6.06e-06/0.2875, allocations: 0 / 1.049 GB, free: 2.473 MB / 0.6667 GB Notification: Performance of matching and sorting (n=78): time 0.03875/0.3262, allocations: 8.933 MB / 1.058 GB, free: 9.344 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002641/0.3265, allocations: 406.1 kB / 1.058 GB, free: 8.855 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002404/0.3289, allocations: 1.242 MB / 1.059 GB, free: 7.602 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001682/0.3291, allocations: 45.64 kB / 1.06 GB, free: 7.551 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.00145/0.3306, allocations: 1.243 MB / 1.061 GB, free: 6.289 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004195/0.331, allocations: 288.1 kB / 1.061 GB, free: 6.004 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001306/0.3312, allocations: 32 kB / 1.061 GB, free: 5.973 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002467/0.3314, allocations: 365.9 kB / 1.061 GB, free: 5.609 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001723/0.3332, allocations: 0.7456 MB / 1.062 GB, free: 4.863 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002381/0.3356, allocations: 1.449 MB / 1.064 GB, free: 3.086 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002282/0.3379, allocations: 1.111 MB / 1.065 GB, free: 1.961 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.949e-05/0.3379, allocations: 8 kB / 1.065 GB, free: 1.953 MB / 0.6823 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.6856/1.024, allocations: 3.546 MB / 1.068 GB, free: 81.93 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001916/1.025, allocations: 9.188 MB / 1.077 GB, free: 72.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.014e-05/1.026, allocations: 27.5 kB / 1.077 GB, free: 72.36 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008092/1.034, allocations: 1.424 MB / 1.078 GB, free: 72.32 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002011/1.036, allocations: 300.8 kB / 1.079 GB, free: 72.32 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02609/1.062, allocations: 10.99 MB / 1.089 GB, free: 64.99 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002112/1.064, allocations: 148.7 kB / 1.09 GB, free: 64.96 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002778/1.064, allocations: 78.81 kB / 1.09 GB, free: 64.95 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/1.064, allocations: 8.062 kB / 1.09 GB, free: 64.94 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009257/1.074, allocations: 3.017 MB / 1.093 GB, free: 63.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001144/1.074, allocations: 22.78 kB / 1.093 GB, free: 63.95 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004865/1.079, allocations: 0.9433 MB / 1.094 GB, free: 63.81 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001647/1.08, allocations: 335.2 kB / 1.094 GB, free: 63.77 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01126/1.092, allocations: 6.101 MB / 1.1 GB, free: 59.85 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00189/1.094, allocations: 124.2 kB / 1.1 GB, free: 59.82 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002506/1.094, allocations: 78.53 kB / 1.1 GB, free: 59.81 MB / 0.6823 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.002082/1.096, allocations: 1.113 MB / 1.101 GB, free: 59.24 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003172/1.096, allocations: 134.9 kB / 1.101 GB, free: 59.24 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008976/1.105, allocations: 2.582 MB / 1.104 GB, free: 58.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.017e-05/1.105, allocations: 7.844 kB / 1.104 GB, free: 58.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.649e-05/1.105, allocations: 3.75 kB / 1.104 GB, free: 58.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.257e-05/1.105, allocations: 8.469 kB / 1.104 GB, free: 58.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01329/1.119, allocations: 5.12 MB / 1.109 GB, free: 56.42 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.506e-05/1.119, allocations: 2.5 kB / 1.109 GB, free: 56.42 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006155/1.119, allocations: 98.17 kB / 1.109 GB, free: 56.41 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006699/1.126, allocations: 1.331 MB / 1.11 GB, free: 56.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001516/1.126, allocations: 19.38 kB / 1.11 GB, free: 56.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01788/1.144, allocations: 10.65 MB / 1.121 GB, free: 47.94 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.467e-06/1.144, allocations: 3.188 kB / 1.121 GB, free: 47.94 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01083/1.155, allocations: 3.697 MB / 1.124 GB, free: 45.73 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007963/1.156, allocations: 328.8 kB / 1.125 GB, free: 45.49 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002611/1.156, allocations: 20.38 kB / 1.125 GB, free: 45.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001178/1.157, allocations: 83.36 kB / 1.125 GB, free: 45.44 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003424/1.158, allocations: 84.38 kB / 1.125 GB, free: 45.38 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.029e-05/1.158, allocations: 20.03 kB / 1.125 GB, free: 45.38 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001487/1.159, allocations: 0.8226 MB / 1.126 GB, free: 44.91 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.917e-06/1.159, allocations: 0 / 1.126 GB, free: 44.91 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004253/1.164, allocations: 0.8924 MB / 1.126 GB, free: 44.85 MB / 0.6823 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.0002734/1.164, allocations: 135.8 kB / 1.127 GB, free: 44.74 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01176/1.176, allocations: 4.434 MB / 1.131 GB, free: 41.98 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.508e-05/1.176, allocations: 2.25 kB / 1.131 GB, free: 41.98 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.006826/1.183, allocations: 1.599 MB / 1.132 GB, free: 40.87 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003217/1.186, allocations: 333 kB / 1.133 GB, free: 40.71 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01048/1.196, allocations: 5.05 MB / 1.138 GB, free: 37.54 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002503/1.199, allocations: 2.066 MB / 1.14 GB, free: 36.12 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002429/1.201, allocations: 0.675 MB / 1.14 GB, free: 35.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002699/1.202, allocations: 80.22 kB / 1.14 GB, free: 35.79 MB / 0.6823 GB Notification: Performance of SimCode: time 1.85e-06/1.202, allocations: 0 / 1.14 GB, free: 35.79 MB / 0.6823 GB Notification: Performance of Templates: time 0.08539/1.287, allocations: 29.29 MB / 1.169 GB, free: 7.414 MB / 0.6823 GB