Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01797/0.01797, allocations: 222.8 kB / 15.17 MB, free: 5.926 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001794/0.001794, allocations: 180.1 kB / 16.06 MB, free: 5.828 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.647/3.647, allocations: 389.1 MB / 405.9 MB, free: 13.25 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.148/4.148, allocations: 472.3 MB / 0.9018 GB, free: 3.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004914/0.0004917, allocations: 15.98 kB / 1.008 GB, free: 10.3 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6657/0.6663, allocations: 98.72 MB / 1.104 GB, free: 212.8 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl): time 0.02193/0.6882, allocations: 17.43 MB / 1.121 GB, free: 201.8 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.01614/0.7044, allocations: 9.059 MB / 1.13 GB, free: 195.7 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002302/0.7068, allocations: 58.31 kB / 1.13 GB, free: 195.7 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.001659/0.7085, allocations: 395.3 kB / 1.13 GB, free: 195.5 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.005633/0.7141, allocations: 1.398 MB / 1.132 GB, free: 194.7 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.003921/0.7181, allocations: 0.9144 MB / 1.133 GB, free: 194.3 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.006678/0.7248, allocations: 4.513 MB / 1.137 GB, free: 192.7 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01487/0.7397, allocations: 5.577 MB / 1.142 GB, free: 191 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004452/0.7442, allocations: 1.289 MB / 1.144 GB, free: 190.5 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004067/0.7484, allocations: 1.636 MB / 1.145 GB, free: 189.9 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0006132/0.749, allocations: 151.8 kB / 1.145 GB, free: 189.9 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001746/0.7508, allocations: 354.2 kB / 1.146 GB, free: 189.9 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.00199/0.7528, allocations: 1.154 MB / 1.147 GB, free: 189.5 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.00111/0.7539, allocations: 0.5248 MB / 1.147 GB, free: 189.2 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.006032/0.76, allocations: 4.5 MB / 1.152 GB, free: 186.7 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 6.962e-06/0.76, allocations: 1 kB / 1.152 GB, free: 186.7 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.984e-06/0.76, allocations: 0 / 1.152 GB, free: 186.7 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001166/0.7602, allocations: 0.9062 kB / 1.152 GB, free: 186.7 MB / 0.7292 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.006066/0.7662, allocations: 2.42 MB / 1.154 GB, free: 185.1 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.7663, allocations: 12.62 kB / 1.154 GB, free: 185.1 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004012/0.7703, allocations: 0.5359 MB / 1.155 GB, free: 184.8 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003848/0.7742, allocations: 1.473 MB / 1.156 GB, free: 183.9 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002293/0.7745, allocations: 216.2 kB / 1.156 GB, free: 183.7 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007639/0.7753, allocations: 249.8 kB / 1.157 GB, free: 183.6 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008626/0.7839, allocations: 3.878 MB / 1.16 GB, free: 180.7 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.311e-05/0.784, allocations: 3.938 kB / 1.16 GB, free: 180.7 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003532/0.7844, allocations: 108.7 kB / 1.161 GB, free: 180.6 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004644/0.7849, allocations: 189.1 kB / 1.161 GB, free: 180.4 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006405/0.7913, allocations: 3.112 MB / 1.164 GB, free: 177.3 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01923/0.8105, allocations: 13.77 MB / 1.177 GB, free: 162.5 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001585/0.8122, allocations: 0.735 MB / 1.178 GB, free: 161.8 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009321/0.8131, allocations: 0.5296 MB / 1.178 GB, free: 161.2 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001685/0.8133, allocations: 89.5 kB / 1.178 GB, free: 161.1 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008597/0.8142, allocations: 0.593 MB / 1.179 GB, free: 160.5 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=56): time 4.155e-06/0.8142, allocations: 0 / 1.179 GB, free: 160.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=78): time 0.02864/0.8429, allocations: 8.829 MB / 1.188 GB, free: 151.5 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/0.843, allocations: 402.2 kB / 1.188 GB, free: 151 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001977/0.845, allocations: 1.242 MB / 1.189 GB, free: 149.8 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001561/0.8452, allocations: 41.7 kB / 1.189 GB, free: 149.7 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009791/0.8462, allocations: 1.251 MB / 1.191 GB, free: 148.4 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002796/0.8465, allocations: 280.3 kB / 1.191 GB, free: 148.2 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/0.8466, allocations: 32 kB / 1.191 GB, free: 148.1 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.8467, allocations: 373.9 kB / 1.191 GB, free: 147.8 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00139/0.8481, allocations: 0.7417 MB / 1.192 GB, free: 147 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001638/0.8498, allocations: 1.453 MB / 1.193 GB, free: 145.2 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001694/0.8515, allocations: 1.107 MB / 1.194 GB, free: 144.1 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.295e-05/0.8515, allocations: 4 kB / 1.194 GB, free: 144.1 MB / 0.7292 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.009475/0.861, allocations: 3.551 MB / 1.198 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003943/0.8615, allocations: 0.8182 MB / 1.199 GB, free: 139.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.058e-05/0.8615, allocations: 26.27 kB / 1.199 GB, free: 139.4 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006648/0.8682, allocations: 1.423 MB / 1.2 GB, free: 137.9 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001334/0.8695, allocations: 307.5 kB / 1.2 GB, free: 137.6 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01674/0.8863, allocations: 10.68 MB / 1.211 GB, free: 126.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002942/0.8893, allocations: 143.5 kB / 1.211 GB, free: 126.3 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005336/0.8899, allocations: 83.98 kB / 1.211 GB, free: 126.2 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.8899, allocations: 4 kB / 1.211 GB, free: 126.2 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01446/0.9044, allocations: 3.015 MB / 1.214 GB, free: 123.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001329/0.9046, allocations: 24.03 kB / 1.214 GB, free: 123.1 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008309/0.9129, allocations: 0.9346 MB / 1.215 GB, free: 122.2 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002928/0.9159, allocations: 347.4 kB / 1.215 GB, free: 121.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01926/0.9352, allocations: 5.93 MB / 1.221 GB, free: 115.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003731/0.939, allocations: 123.8 kB / 1.221 GB, free: 115.6 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004053/0.9395, allocations: 80 kB / 1.221 GB, free: 115.5 MB / 0.7292 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.002346/0.9418, allocations: 1.107 MB / 1.222 GB, free: 114.4 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002913/0.9421, allocations: 134.4 kB / 1.222 GB, free: 114.2 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007557/0.9497, allocations: 2.582 MB / 1.225 GB, free: 111.6 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.321e-05/0.9498, allocations: 8 kB / 1.225 GB, free: 111.6 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/0.9498, allocations: 4 kB / 1.225 GB, free: 111.6 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.733e-05/0.9498, allocations: 7.797 kB / 1.225 GB, free: 111.6 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01205/0.9619, allocations: 5.241 MB / 1.23 GB, free: 106.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.558e-05/0.9619, allocations: 4 kB / 1.23 GB, free: 106.2 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005744/0.9625, allocations: 103.8 kB / 1.23 GB, free: 106.1 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006173/0.9687, allocations: 1.327 MB / 1.232 GB, free: 104.8 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002382/0.969, allocations: 12 kB / 1.232 GB, free: 104.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.016/0.985, allocations: 10.34 MB / 1.242 GB, free: 93.91 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.279e-06/0.9851, allocations: 0 / 1.242 GB, free: 93.91 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00877/0.9938, allocations: 3.58 MB / 1.245 GB, free: 90.27 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000823/0.9947, allocations: 323.4 kB / 1.245 GB, free: 89.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002542/0.995, allocations: 23.98 kB / 1.245 GB, free: 89.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001115/0.9961, allocations: 83.95 kB / 1.246 GB, free: 89.83 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003023/0.9964, allocations: 72.42 kB / 1.246 GB, free: 89.76 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.262e-05/0.9965, allocations: 23.98 kB / 1.246 GB, free: 89.74 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001277/0.9978, allocations: 0.8306 MB / 1.246 GB, free: 88.9 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7.27e-07/0.9978, allocations: 0 / 1.246 GB, free: 88.9 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.003719/1.002, allocations: 0.8906 MB / 1.247 GB, free: 88.01 MB / 0.7292 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.0002505/1.002, allocations: 147.8 kB / 1.247 GB, free: 87.86 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00974/1.012, allocations: 4.417 MB / 1.252 GB, free: 83.32 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.155e-06/1.012, allocations: 4.125 kB / 1.252 GB, free: 83.32 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.003875/1.016, allocations: 1.591 MB / 1.253 GB, free: 81.67 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002263/1.018, allocations: 352.3 kB / 1.254 GB, free: 81.34 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008108/1.026, allocations: 5.063 MB / 1.259 GB, free: 76.24 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002248/1.028, allocations: 2.065 MB / 1.261 GB, free: 74.14 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.00238/1.031, allocations: 0.6555 MB / 1.261 GB, free: 73.5 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000245/1.031, allocations: 87.36 kB / 1.261 GB, free: 73.42 MB / 0.7292 GB Notification: Performance of SimCode: time 1.549e-06/1.031, allocations: 0 / 1.261 GB, free: 73.42 MB / 0.7292 GB Notification: Performance of Templates: time 0.06029/1.091, allocations: 29.39 MB / 1.29 GB, free: 44.99 MB / 0.7292 GB