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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_LoadCtrl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01113/0.01114, allocations: 106.4 kB / 15.06 MB, free: 6.023 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.00119/0.001189, allocations: 181.8 kB / 15.95 MB, free: 5.957 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.985/1.985, allocations: 194.6 MB / 211.3 MB, free: 11.06 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.342/2.342, allocations: 236.2 MB / 492.6 MB, free: 11.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004713/0.0004714, allocations: 8 kB / 0.587 GB, free: 2.066 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6786/0.6791, allocations: 98.73 MB / 0.6834 GB, free: 16.81 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl): time 0.02733/0.7064, allocations: 16.88 MB / 0.6999 GB, free: 5.934 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0192/0.7257, allocations: 8.913 MB / 0.7086 GB, free: 15.23 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002335/0.7281, allocations: 58.75 kB / 0.7087 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0023/0.7304, allocations: 416.4 kB / 0.7091 GB, free: 14.84 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.006536/0.737, allocations: 1.251 MB / 0.7103 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.004559/0.7416, allocations: 0.9131 MB / 0.7112 GB, free: 13.11 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.005498/0.7472, allocations: 1.93 MB / 0.7131 GB, free: 11.88 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01363/0.7608, allocations: 5.572 MB / 0.7185 GB, free: 8.953 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003306/0.7642, allocations: 1.124 MB / 0.7196 GB, free: 8.32 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003331/0.7676, allocations: 1.114 MB / 0.7207 GB, free: 7.645 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.000921/0.7686, allocations: 152.9 kB / 0.7209 GB, free: 7.645 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002304/0.7709, allocations: 338.5 kB / 0.7212 GB, free: 7.555 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.002555/0.7735, allocations: 1.066 MB / 0.7222 GB, free: 6.551 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.001385/0.7749, allocations: 0.5278 MB / 0.7227 GB, free: 6.016 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.00818/0.7831, allocations: 4.47 MB / 0.7271 GB, free: 1.535 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.7832, allocations: 0 / 0.7271 GB, free: 1.535 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.136e-06/0.7832, allocations: 0 / 0.7271 GB, free: 1.535 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.000157/0.7834, allocations: 0 / 0.7271 GB, free: 1.535 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.00861/0.792, allocations: 2.427 MB / 0.7295 GB, free: 15.04 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.792, allocations: 8.031 kB / 0.7295 GB, free: 15.03 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001444/0.7935, allocations: 390.5 kB / 0.7299 GB, free: 14.64 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004831/0.7984, allocations: 0.5278 MB / 0.7304 GB, free: 14.11 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005148/0.8036, allocations: 1.482 MB / 0.7318 GB, free: 12.58 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003259/0.8039, allocations: 214.6 kB / 0.732 GB, free: 12.36 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001115/0.8051, allocations: 248 kB / 0.7323 GB, free: 12.12 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01224/0.8173, allocations: 3.858 MB / 0.736 GB, free: 8.184 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001035/0.8175, allocations: 4 kB / 0.736 GB, free: 8.18 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000459/0.818, allocations: 111.9 kB / 0.7361 GB, free: 8.07 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008284/0.8188, allocations: 184.9 kB / 0.7363 GB, free: 7.883 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01042/0.8293, allocations: 3.111 MB / 0.7394 GB, free: 4.758 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0312/0.8605, allocations: 13.78 MB / 0.7528 GB, free: 5.852 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002484/0.8631, allocations: 0.751 MB / 0.7535 GB, free: 5.09 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002398/0.8633, allocations: 93.48 kB / 0.7536 GB, free: 4.98 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001349/0.8647, allocations: 0.593 MB / 0.7542 GB, free: 4.332 MB / 0.573 GB Notification: Performance of pre-optimization done (n=56): time 3.938e-06/0.8647, allocations: 0 / 0.7542 GB, free: 4.332 MB / 0.573 GB Notification: Performance of matching and sorting (n=78): time 0.04732/0.9121, allocations: 8.934 MB / 0.7629 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002756/0.9124, allocations: 406.2 kB / 0.7633 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002855/0.9153, allocations: 1.223 MB / 0.7645 GB, free: 9.477 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0002379/0.9156, allocations: 41.7 kB / 0.7646 GB, free: 9.43 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.001646/0.9172, allocations: 1.254 MB / 0.7658 GB, free: 8.156 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.000517/0.9178, allocations: 284.2 kB / 0.7661 GB, free: 7.875 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001871/0.918, allocations: 32 kB / 0.7661 GB, free: 7.844 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0002331/0.9182, allocations: 369.9 kB / 0.7664 GB, free: 7.477 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002375/0.9206, allocations: 0.7456 MB / 0.7672 GB, free: 6.73 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003025/0.9237, allocations: 1.449 MB / 0.7686 GB, free: 4.953 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00289/0.9266, allocations: 1.107 MB / 0.7697 GB, free: 3.832 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.607e-05/0.9267, allocations: 8 kB / 0.7697 GB, free: 3.824 MB / 0.5886 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.0163/0.943, allocations: 3.559 MB / 0.7731 GB, free: 236 kB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.004852/0.9479, allocations: 9.191 MB / 0.7821 GB, free: 6.309 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.448e-05/0.9481, allocations: 24 kB / 0.7821 GB, free: 6.285 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01136/0.9594, allocations: 1.427 MB / 0.7835 GB, free: 4.844 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002231/0.9617, allocations: 303.5 kB / 0.7838 GB, free: 4.547 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02952/0.9913, allocations: 10.99 MB / 0.7946 GB, free: 9.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003562/0.9949, allocations: 143.5 kB / 0.7947 GB, free: 8.879 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004119/0.9954, allocations: 83.98 kB / 0.7948 GB, free: 8.797 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.9954, allocations: 11.94 kB / 0.7948 GB, free: 8.785 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01761/1.013, allocations: 3.019 MB / 0.7977 GB, free: 5.746 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001317/1.013, allocations: 27.94 kB / 0.7978 GB, free: 5.719 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009895/1.023, allocations: 0.9381 MB / 0.7987 GB, free: 4.773 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003302/1.026, allocations: 335.4 kB / 0.799 GB, free: 4.445 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02203/1.049, allocations: 6.111 MB / 0.805 GB, free: 14.06 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003243/1.052, allocations: 119.8 kB / 0.8051 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003749/1.052, allocations: 83.98 kB / 0.8052 GB, free: 13.86 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.003533/1.056, allocations: 1.103 MB / 0.8062 GB, free: 12.74 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005235/1.056, allocations: 134.4 kB / 0.8064 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01519/1.072, allocations: 2.589 MB / 0.8089 GB, free: 9.984 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.113e-05/1.072, allocations: 8 kB / 0.8089 GB, free: 9.977 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-05/1.072, allocations: 0 / 0.8089 GB, free: 9.977 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.851e-05/1.072, allocations: 7.984 kB / 0.8089 GB, free: 9.969 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01884/1.091, allocations: 5.131 MB / 0.8139 GB, free: 4.738 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-05/1.091, allocations: 4 kB / 0.8139 GB, free: 4.734 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009332/1.092, allocations: 103.9 kB / 0.814 GB, free: 4.633 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0103/1.102, allocations: 1.318 MB / 0.8153 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002221/1.102, allocations: 20 kB / 0.8153 GB, free: 3.281 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02554/1.128, allocations: 10.65 MB / 0.8257 GB, free: 8.098 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/1.128, allocations: 3.984 kB / 0.8257 GB, free: 8.094 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01477/1.143, allocations: 3.702 MB / 0.8293 GB, free: 4.293 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001056/1.144, allocations: 319.5 kB / 0.8297 GB, free: 3.961 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003857/1.144, allocations: 23.94 kB / 0.8297 GB, free: 3.938 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001883/1.146, allocations: 87.83 kB / 0.8298 GB, free: 3.852 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005095/1.147, allocations: 72.53 kB / 0.8298 GB, free: 3.777 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001036/1.147, allocations: 23.98 kB / 0.8299 GB, free: 3.754 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001921/1.149, allocations: 0.8229 MB / 0.8307 GB, free: 2.926 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.01e-07/1.149, allocations: 0 / 0.8307 GB, free: 2.926 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.004956/1.154, allocations: 0.8945 MB / 0.8315 GB, free: 2.031 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.01616/1.17, allocations: 4.921 MB / 0.8363 GB, free: 13 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.01518/1.185, allocations: 4.432 MB / 0.8407 GB, free: 8.453 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.032e-05/1.185, allocations: 0 / 0.8407 GB, free: 8.453 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.00601/1.191, allocations: 1.602 MB / 0.8422 GB, free: 6.785 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002774/1.194, allocations: 329 kB / 0.8425 GB, free: 6.465 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04649/1.24, allocations: 28.41 MB / 0.8703 GB, free: 9.234 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003709/1.244, allocations: 2.061 MB / 0.8723 GB, free: 7.141 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003322/1.248, allocations: 0.6667 MB / 0.873 GB, free: 6.469 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001766/1.249, allocations: 0.8039 MB / 0.8737 GB, free: 5.664 MB / 0.698 GB Notification: Performance of SimCode: time 1.062e-06/1.249, allocations: 0 / 0.8737 GB, free: 5.664 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6617/1.911, allocations: 45.98 MB / 0.9186 GB, free: 196.2 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002605/1.911, allocations: 249 kB / 0.9189 GB, free: 195.9 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.806/5.718, allocations: 0 / 0.9189 GB, free: 195.9 MB / 0.7292 GB