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.01565/0.01565, allocations: 112 kB / 15.06 MB, free: 5.559 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.001653/0.001653, allocations: 181.6 kB / 15.95 MB, free: 5.52 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 1.943/1.943, allocations: 194.6 MB / 211.3 MB, free: 11.11 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.241/2.241, allocations: 236.1 MB / 492.6 MB, free: 11.3 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006595/0.0006597, allocations: 12 kB / 0.587 GB, free: 2.172 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6216/0.6223, allocations: 98.71 MB / 0.6834 GB, free: 16.77 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl): time 0.02213/0.6445, allocations: 16.88 MB / 0.6998 GB, free: 5.895 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.01571/0.6602, allocations: 8.917 MB / 0.7085 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002133/0.6624, allocations: 54.56 kB / 0.7086 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.001637/0.6641, allocations: 431.9 kB / 0.709 GB, free: 14.78 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.005405/0.6695, allocations: 1.242 MB / 0.7102 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.003635/0.6732, allocations: 0.9178 MB / 0.7111 GB, free: 13.05 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.00414/0.6773, allocations: 1.934 MB / 0.713 GB, free: 11.82 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01291/0.6903, allocations: 5.564 MB / 0.7184 GB, free: 8.898 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003861/0.6942, allocations: 1.124 MB / 0.7195 GB, free: 8.266 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003544/0.6977, allocations: 1.111 MB / 0.7206 GB, free: 7.594 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0007527/0.6985, allocations: 151.5 kB / 0.7208 GB, free: 7.594 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002009/0.7006, allocations: 342.8 kB / 0.7211 GB, free: 7.5 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.002402/0.703, allocations: 1.063 MB / 0.7221 GB, free: 6.582 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.001493/0.7045, allocations: 0.5316 MB / 0.7227 GB, free: 6.043 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.009968/0.7145, allocations: 4.47 MB / 0.727 GB, free: 1.562 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 5.336e-06/0.7146, allocations: 0 / 0.727 GB, free: 1.562 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.573e-06/0.7146, allocations: 0 / 0.727 GB, free: 1.562 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001054/0.7147, allocations: 0 / 0.727 GB, free: 1.562 MB / 0.5417 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.01032/0.725, allocations: 2.427 MB / 0.7294 GB, free: 15.06 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.7251, allocations: 11.97 kB / 0.7294 GB, free: 15.05 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007082/0.7322, allocations: 0.5394 MB / 0.7299 GB, free: 14.51 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006799/0.7391, allocations: 1.474 MB / 0.7314 GB, free: 12.99 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004209/0.7395, allocations: 214.6 kB / 0.7316 GB, free: 12.77 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001271/0.7408, allocations: 239.9 kB / 0.7318 GB, free: 12.54 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0168/0.7577, allocations: 3.866 MB / 0.7356 GB, free: 8.594 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001113/0.7578, allocations: 4 kB / 0.7356 GB, free: 8.59 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005653/0.7584, allocations: 99.98 kB / 0.7357 GB, free: 8.492 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005582/0.759, allocations: 188.9 kB / 0.7359 GB, free: 8.305 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01219/0.7712, allocations: 3.111 MB / 0.7389 GB, free: 5.176 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03802/0.8093, allocations: 13.78 MB / 0.7523 GB, free: 6.27 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002528/0.8118, allocations: 0.7549 MB / 0.7531 GB, free: 5.504 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002763/0.8122, allocations: 97.5 kB / 0.7532 GB, free: 5.391 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001897/0.8141, allocations: 0.5969 MB / 0.7538 GB, free: 4.738 MB / 0.573 GB Notification: Performance of pre-optimization done (n=56): time 5.691e-06/0.8141, allocations: 0 / 0.7538 GB, free: 4.738 MB / 0.573 GB Notification: Performance of matching and sorting (n=78): time 0.05494/0.8691, allocations: 8.925 MB / 0.7625 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005852/0.8697, allocations: 410.1 kB / 0.7629 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005274/0.875, allocations: 1.234 MB / 0.7641 GB, free: 9.875 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0002945/0.8754, allocations: 37.7 kB / 0.7641 GB, free: 9.832 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.003159/0.8786, allocations: 1.254 MB / 0.7653 GB, free: 8.559 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008658/0.8795, allocations: 280.2 kB / 0.7656 GB, free: 8.281 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003097/0.8798, allocations: 32 kB / 0.7656 GB, free: 8.25 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0005539/0.8804, allocations: 369.9 kB / 0.766 GB, free: 7.883 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0023/0.8827, allocations: 0.7456 MB / 0.7667 GB, free: 7.137 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002318/0.8851, allocations: 1.446 MB / 0.7681 GB, free: 5.363 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00222/0.8873, allocations: 1.115 MB / 0.7692 GB, free: 4.234 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.53e-05/0.8873, allocations: 4 kB / 0.7692 GB, free: 4.23 MB / 0.5886 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.01257/0.8999, allocations: 3.559 MB / 0.7727 GB, free: 0.6367 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0072/0.9072, allocations: 9.188 MB / 0.7817 GB, free: 6.719 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001474/0.9074, allocations: 24 kB / 0.7817 GB, free: 6.695 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01677/0.9242, allocations: 1.423 MB / 0.7831 GB, free: 5.258 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00327/0.9275, allocations: 307.4 kB / 0.7834 GB, free: 4.957 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06183/0.9894, allocations: 11 MB / 0.7941 GB, free: 9.422 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002037/0.9915, allocations: 147.5 kB / 0.7943 GB, free: 9.277 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001974/0.9917, allocations: 76 kB / 0.7943 GB, free: 9.203 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.9917, allocations: 4 kB / 0.7943 GB, free: 9.199 MB / 0.6199 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009005/1.001, allocations: 3.03 MB / 0.7973 GB, free: 6.148 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.506e-05/1.001, allocations: 20 kB / 0.7973 GB, free: 6.129 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004833/1.006, allocations: 0.9343 MB / 0.7982 GB, free: 5.188 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001686/1.007, allocations: 343.4 kB / 0.7985 GB, free: 4.852 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0125/1.02, allocations: 6.099 MB / 0.8045 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001858/1.022, allocations: 135.6 kB / 0.8046 GB, free: 14.35 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001919/1.022, allocations: 76 kB / 0.8047 GB, free: 14.27 MB / 0.6355 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.002198/1.024, allocations: 1.111 MB / 0.8058 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000313/1.025, allocations: 130.5 kB / 0.8059 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008941/1.034, allocations: 2.578 MB / 0.8084 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.248e-05/1.034, allocations: 15.95 kB / 0.8084 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.21e-05/1.034, allocations: 4 kB / 0.8085 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.087e-05/1.034, allocations: 3.984 kB / 0.8085 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01478/1.048, allocations: 5.128 MB / 0.8135 GB, free: 5.152 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.201e-05/1.048, allocations: 4 kB / 0.8135 GB, free: 5.148 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006437/1.049, allocations: 104.1 kB / 0.8136 GB, free: 5.047 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007009/1.056, allocations: 1.318 MB / 0.8149 GB, free: 3.715 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001658/1.056, allocations: 19.98 kB / 0.8149 GB, free: 3.695 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02092/1.077, allocations: 10.64 MB / 0.8253 GB, free: 8.516 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.733e-06/1.077, allocations: 8.016 kB / 0.8253 GB, free: 8.508 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01069/1.088, allocations: 3.694 MB / 0.8289 GB, free: 4.715 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008866/1.089, allocations: 323.5 kB / 0.8292 GB, free: 4.379 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002834/1.089, allocations: 24 kB / 0.8292 GB, free: 4.355 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001167/1.09, allocations: 87.95 kB / 0.8293 GB, free: 4.27 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003287/1.091, allocations: 80.33 kB / 0.8294 GB, free: 4.188 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.102e-05/1.091, allocations: 24 kB / 0.8294 GB, free: 4.164 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.00158/1.092, allocations: 0.8228 MB / 0.8302 GB, free: 3.336 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.88e-07/1.093, allocations: 8 kB / 0.8302 GB, free: 3.328 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.004013/1.097, allocations: 0.8867 MB / 0.8311 GB, free: 2.441 MB / 0.6511 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.0003028/1.097, allocations: 135.2 kB / 0.8312 GB, free: 2.297 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.01178/1.109, allocations: 4.432 MB / 0.8355 GB, free: 13.75 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 8.552e-06/1.109, allocations: 0 / 0.8355 GB, free: 13.75 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.004273/1.113, allocations: 1.607 MB / 0.8371 GB, free: 12.08 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001932/1.115, allocations: 328.9 kB / 0.8374 GB, free: 11.76 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009986/1.125, allocations: 5.062 MB / 0.8424 GB, free: 6.645 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002951/1.128, allocations: 2.061 MB / 0.8444 GB, free: 4.547 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.002637/1.131, allocations: 0.6628 MB / 0.845 GB, free: 3.879 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002645/1.131, allocations: 83.44 kB / 0.8451 GB, free: 3.797 MB / 0.6667 GB Notification: Performance of SimCode: time 1.498e-06/1.131, allocations: 0 / 0.8451 GB, free: 3.797 MB / 0.6667 GB Notification: Performance of Templates: time 0.0716/1.203, allocations: 29.29 MB / 0.8737 GB, free: 6.742 MB / 0.698 GB