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.006247/0.006246, allocations: 233.5 kB / 15.8 MB, free: 6.285 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.00178/0.00178, allocations: 181.9 kB / 16.69 MB, free: 5.445 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 4.359/4.359, allocations: 389.1 MB / 406.5 MB, free: 11.84 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.688/4.688, allocations: 472.3 MB / 0.9024 GB, free: 9.223 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004712/0.0004716, allocations: 11.5 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1808/0.1813, allocations: 98.71 MB / 1.105 GB, free: 42.11 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl): time 0.0247/0.206, allocations: 17.43 MB / 1.122 GB, free: 24.62 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01706/0.2231, allocations: 9.068 MB / 1.13 GB, free: 15.59 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001909/0.2251, allocations: 59.75 kB / 1.131 GB, free: 15.53 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001559/0.2267, allocations: 397 kB / 1.131 GB, free: 15.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.005442/0.2322, allocations: 1.399 MB / 1.132 GB, free: 13.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.00378/0.236, allocations: 0.9139 MB / 1.133 GB, free: 12.84 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.006023/0.2421, allocations: 4.508 MB / 1.138 GB, free: 8.312 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01066/0.2528, allocations: 5.563 MB / 1.143 GB, free: 3.086 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002756/0.2556, allocations: 1.3 MB / 1.144 GB, free: 1.781 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003409/0.259, allocations: 1.639 MB / 1.146 GB, free: 144 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0006125/0.2597, allocations: 148 kB / 1.146 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001619/0.2613, allocations: 355.5 kB / 1.146 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.001971/0.2633, allocations: 1.15 MB / 1.147 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.001061/0.2644, allocations: 0.5239 MB / 1.148 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.00758/0.272, allocations: 4.496 MB / 1.152 GB, free: 9.457 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 9.758e-06/0.2721, allocations: 0 / 1.152 GB, free: 9.457 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.905e-06/0.2721, allocations: 0.8125 kB / 1.152 GB, free: 9.457 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001656/0.2723, allocations: 0 / 1.152 GB, free: 9.457 MB / 0.6198 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.008632/0.2809, allocations: 2.423 MB / 1.155 GB, free: 6.977 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.408e-05/0.281, allocations: 8.031 kB / 1.155 GB, free: 6.969 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004951/0.286, allocations: 0.5335 MB / 1.155 GB, free: 6.434 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005113/0.2912, allocations: 1.478 MB / 1.157 GB, free: 4.914 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00032/0.2915, allocations: 221.6 kB / 1.157 GB, free: 4.691 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001033/0.2926, allocations: 244 kB / 1.157 GB, free: 4.453 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0123/0.3049, allocations: 3.885 MB / 1.161 GB, free: 0.4961 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.244e-05/0.305, allocations: 3.906 kB / 1.161 GB, free: 0.4922 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004185/0.3055, allocations: 104 kB / 1.161 GB, free: 400 kB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008105/0.3063, allocations: 184.9 kB / 1.161 GB, free: 212 kB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5617/0.868, allocations: 3.103 MB / 1.164 GB, free: 79.97 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02845/0.8965, allocations: 13.77 MB / 1.178 GB, free: 70.98 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00219/0.8987, allocations: 0.7446 MB / 1.178 GB, free: 70.69 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001352/0.9001, allocations: 0.5174 MB / 1.179 GB, free: 70.51 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002148/0.9004, allocations: 96.58 kB / 1.179 GB, free: 70.41 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001213/0.9016, allocations: 0.5925 MB / 1.18 GB, free: 70.07 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=56): time 3.777e-06/0.9016, allocations: 0 / 1.18 GB, free: 70.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=78): time 0.04453/0.9462, allocations: 8.836 MB / 1.188 GB, free: 66.81 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001335/0.9463, allocations: 407.7 kB / 1.189 GB, free: 66.34 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00227/0.9486, allocations: 1.235 MB / 1.19 GB, free: 65.84 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0002168/0.9489, allocations: 40.89 kB / 1.19 GB, free: 65.8 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.001128/0.95, allocations: 1.247 MB / 1.191 GB, free: 64.87 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004148/0.9505, allocations: 293.1 kB / 1.191 GB, free: 64.66 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001644/0.9506, allocations: 26.19 kB / 1.191 GB, free: 64.64 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.9508, allocations: 374.1 kB / 1.192 GB, free: 64.31 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001829/0.9526, allocations: 0.7429 MB / 1.192 GB, free: 64.05 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002265/0.9549, allocations: 1.453 MB / 1.194 GB, free: 62.88 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002386/0.9574, allocations: 1.103 MB / 1.195 GB, free: 62.41 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.16e-05/0.9574, allocations: 5.969 kB / 1.195 GB, free: 62.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.01428/0.9717, allocations: 3.554 MB / 1.198 GB, free: 61.23 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.000528/0.9723, allocations: 0.8186 MB / 1.199 GB, free: 60.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.461e-05/0.9723, allocations: 22.66 kB / 1.199 GB, free: 60.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0107/0.983, allocations: 1.43 MB / 1.201 GB, free: 59.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002158/0.9853, allocations: 301 kB / 1.201 GB, free: 59.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02313/1.008, allocations: 10.67 MB / 1.211 GB, free: 52.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002695/1.011, allocations: 154.8 kB / 1.212 GB, free: 52.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001952/1.011, allocations: 77.31 kB / 1.212 GB, free: 52.61 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/1.011, allocations: 3.094 kB / 1.212 GB, free: 52.61 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01149/1.023, allocations: 3.015 MB / 1.215 GB, free: 51.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.779e-05/1.023, allocations: 25.2 kB / 1.215 GB, free: 51.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007115/1.03, allocations: 0.9404 MB / 1.216 GB, free: 51.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002421/1.033, allocations: 335.3 kB / 1.216 GB, free: 51.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01418/1.047, allocations: 5.929 MB / 1.222 GB, free: 47.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002396/1.049, allocations: 124.5 kB / 1.222 GB, free: 47.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002053/1.05, allocations: 76.97 kB / 1.222 GB, free: 47.45 MB / 0.6198 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.002352/1.052, allocations: 1.12 MB / 1.223 GB, free: 46.7 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004141/1.052, allocations: 137.6 kB / 1.223 GB, free: 46.63 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01172/1.064, allocations: 2.574 MB / 1.226 GB, free: 45.18 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-05/1.064, allocations: 5.047 kB / 1.226 GB, free: 45.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/1.064, allocations: 0 / 1.226 GB, free: 45.17 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009638/1.065, allocations: 332.1 kB / 1.226 GB, free: 44.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003081/1.066, allocations: 14.53 kB / 1.226 GB, free: 44.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001457/1.067, allocations: 81.2 kB / 1.226 GB, free: 44.86 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003514/1.067, allocations: 87.38 kB / 1.226 GB, free: 44.82 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009787/1.077, allocations: 2.529 MB / 1.229 GB, free: 43.38 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004939/1.082, allocations: 2.311 MB / 1.231 GB, free: 41.99 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001487/1.084, allocations: 0.6436 MB / 1.231 GB, free: 41.64 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001826/1.086, allocations: 0.8236 MB / 1.232 GB, free: 41.18 MB / 0.6198 GB Notification: Performance of Backend: time 6.21e-07/1.086, allocations: 0 / 1.232 GB, free: 41.18 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0151/1.101, allocations: 4.125 MB / 1.236 GB, free: 38.59 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0127/1.113, allocations: 5.602 MB / 1.242 GB, free: 34.99 MB / 0.6198 GB Notification: Performance of Templates: time 0.08308/1.197, allocations: 34.19 MB / 1.275 GB, free: 2.227 MB / 0.6198 GB