Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl,fileNamePrefix="Buildings_7_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.3/package.mo): time 0.01008/0.01009, allocations: 88.59 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001176/0.001175, allocations: 174.2 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.054/2.054, allocations: 205.5 MB / 222.2 MB, free: 13.72 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.427/2.427, allocations: 252.8 MB / 0.511 GB, free: 8.359 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000466/0.0004662, allocations: 15.34 kB / 0.6243 GB, free: 28.27 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2198/0.2203, allocations: 106.2 MB / 0.7281 GB, free: 10.15 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl): time 0.03082/0.2511, allocations: 16.9 MB / 0.7446 GB, free: 9.195 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.02091/0.2721, allocations: 8.932 MB / 0.7533 GB, free: 256 kB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002159/0.2743, allocations: 55.75 kB / 0.7534 GB, free: 200 kB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.001888/0.2762, allocations: 417.5 kB / 0.7538 GB, free: 15.78 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.005856/0.2821, allocations: 1.242 MB / 0.755 GB, free: 14.54 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.004211/0.2864, allocations: 0.9239 MB / 0.7559 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.005153/0.2915, allocations: 1.927 MB / 0.7578 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.013/0.3046, allocations: 5.563 MB / 0.7632 GB, free: 6.047 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002912/0.3076, allocations: 1.129 MB / 0.7643 GB, free: 4.914 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002683/0.3103, allocations: 1.106 MB / 0.7654 GB, free: 3.805 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0007236/0.3111, allocations: 152 kB / 0.7655 GB, free: 3.656 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001686/0.3128, allocations: 343.6 kB / 0.7658 GB, free: 3.32 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.002194/0.315, allocations: 1.06 MB / 0.7669 GB, free: 2.258 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.001316/0.3164, allocations: 0.5355 MB / 0.7674 GB, free: 1.715 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.007856/0.3242, allocations: 4.465 MB / 0.7718 GB, free: 13.24 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.3243, allocations: 0 / 0.7718 GB, free: 13.24 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.496e-06/0.3243, allocations: 0 / 0.7718 GB, free: 13.24 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001762/0.3245, allocations: 0 / 0.7718 GB, free: 13.24 MB / 0.6042 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.008655/0.3332, allocations: 2.427 MB / 0.7741 GB, free: 10.74 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 7.895e-05/0.3333, allocations: 12.03 kB / 0.7741 GB, free: 10.73 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001478/0.3348, allocations: 378.5 kB / 0.7745 GB, free: 10.35 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00474/0.3395, allocations: 0.5317 MB / 0.775 GB, free: 9.812 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005212/0.3448, allocations: 1.474 MB / 0.7765 GB, free: 8.293 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000303/0.3452, allocations: 210.6 kB / 0.7767 GB, free: 8.078 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009872/0.3462, allocations: 255.9 kB / 0.7769 GB, free: 7.828 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01322/0.3594, allocations: 3.855 MB / 0.7807 GB, free: 3.898 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000127/0.3596, allocations: 0 / 0.7807 GB, free: 3.898 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007906/0.3604, allocations: 115.9 kB / 0.7808 GB, free: 3.785 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001077/0.3615, allocations: 185 kB / 0.781 GB, free: 3.602 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01326/0.3748, allocations: 3.111 MB / 0.784 GB, free: 488 kB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0393/0.4141, allocations: 13.76 MB / 0.7974 GB, free: 1.582 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003151/0.4174, allocations: 0.7571 MB / 0.7982 GB, free: 0.8203 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002938/0.4177, allocations: 105.5 kB / 0.7983 GB, free: 0.6992 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001801/0.4195, allocations: 0.5852 MB / 0.7988 GB, free: 56 kB / 0.6198 GB Notification: Performance of pre-optimization done (n=56): time 5.41e-06/0.4196, allocations: 4 kB / 0.7988 GB, free: 52 kB / 0.6198 GB Notification: Performance of matching and sorting (n=78): time 0.05237/0.472, allocations: 8.943 MB / 0.8076 GB, free: 6.906 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002557/0.4723, allocations: 402.2 kB / 0.808 GB, free: 6.422 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002861/0.4751, allocations: 1.238 MB / 0.8092 GB, free: 5.172 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.000231/0.4754, allocations: 41.7 kB / 0.8092 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.001617/0.4771, allocations: 1.251 MB / 0.8104 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005552/0.4776, allocations: 284.2 kB / 0.8107 GB, free: 3.574 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001777/0.4778, allocations: 28 kB / 0.8107 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002319/0.4781, allocations: 369.9 kB / 0.8111 GB, free: 3.18 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002098/0.4802, allocations: 0.7495 MB / 0.8118 GB, free: 2.43 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002782/0.483, allocations: 1.449 MB / 0.8132 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002882/0.4859, allocations: 1.107 MB / 0.8143 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.954e-05/0.486, allocations: 8 kB / 0.8143 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.01574/0.5018, allocations: 3.551 MB / 0.8178 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.00426/0.5061, allocations: 9.203 MB / 0.8268 GB, free: 2.004 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.816e-05/0.5062, allocations: 24 kB / 0.8268 GB, free: 1.98 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01147/0.5177, allocations: 1.419 MB / 0.8282 GB, free: 0.5469 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002221/0.52, allocations: 303.5 kB / 0.8285 GB, free: 256 kB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03678/0.5568, allocations: 10.98 MB / 0.8392 GB, free: 4.727 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004144/0.561, allocations: 139.6 kB / 0.8393 GB, free: 4.59 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005406/0.5616, allocations: 87.98 kB / 0.8394 GB, free: 4.504 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.5616, allocations: 4 kB / 0.8394 GB, free: 4.5 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01946/0.5811, allocations: 3.011 MB / 0.8424 GB, free: 1.469 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001178/0.5813, allocations: 29 kB / 0.8424 GB, free: 1.441 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007215/0.5885, allocations: 0.9458 MB / 0.8433 GB, free: 500 kB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002489/0.5911, allocations: 339.3 kB / 0.8436 GB, free: 160 kB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5919/1.183, allocations: 6.098 MB / 0.8496 GB, free: 104.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00259/1.186, allocations: 124.4 kB / 0.8497 GB, free: 104.1 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004694/1.186, allocations: 76.84 kB / 0.8498 GB, free: 104.1 MB / 0.6667 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.002695/1.189, allocations: 1.114 MB / 0.8509 GB, free: 103.9 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004046/1.189, allocations: 138.5 kB / 0.851 GB, free: 103.9 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01247/1.202, allocations: 2.585 MB / 0.8535 GB, free: 103.4 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.627e-05/1.202, allocations: 5.688 kB / 0.8535 GB, free: 103.4 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.507e-05/1.202, allocations: 6.766 kB / 0.8535 GB, free: 103.4 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.06e-05/1.202, allocations: 3.047 kB / 0.8535 GB, free: 103.4 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01873/1.221, allocations: 5.116 MB / 0.8585 GB, free: 101.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.021e-05/1.221, allocations: 6.484 kB / 0.8585 GB, free: 101.5 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000926/1.222, allocations: 93.19 kB / 0.8586 GB, free: 101.5 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01024/1.232, allocations: 1.326 MB / 0.8599 GB, free: 101.3 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002221/1.232, allocations: 19.81 kB / 0.8599 GB, free: 101.3 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02426/1.256, allocations: 10.65 MB / 0.8703 GB, free: 94.04 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/1.257, allocations: 3.062 kB / 0.8703 GB, free: 94.04 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0142/1.271, allocations: 3.704 MB / 0.874 GB, free: 92.54 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001018/1.272, allocations: 321.6 kB / 0.8743 GB, free: 92.38 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003917/1.272, allocations: 21.78 kB / 0.8743 GB, free: 92.37 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001776/1.274, allocations: 87.78 kB / 0.8744 GB, free: 92.36 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004657/1.275, allocations: 70.78 kB / 0.8744 GB, free: 92.35 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.843e-05/1.275, allocations: 24.39 kB / 0.8745 GB, free: 92.34 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001804/1.276, allocations: 0.8271 MB / 0.8753 GB, free: 92.01 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.342e-06/1.276, allocations: 0 / 0.8753 GB, free: 92.01 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.004819/1.281, allocations: 0.8924 MB / 0.8761 GB, free: 91.94 MB / 0.6667 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.01433/1.296, allocations: 4.92 MB / 0.881 GB, free: 89.12 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.01383/1.31, allocations: 4.432 MB / 0.8853 GB, free: 86.41 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.015e-05/1.31, allocations: 2.344 kB / 0.8853 GB, free: 86.41 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.005491/1.315, allocations: 1.602 MB / 0.8868 GB, free: 85.3 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002686/1.318, allocations: 335 kB / 0.8872 GB, free: 85.16 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03721/1.355, allocations: 28.39 MB / 0.9149 GB, free: 60.09 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002569/1.358, allocations: 2.069 MB / 0.9169 GB, free: 57.99 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.002898/1.361, allocations: 0.6713 MB / 0.9176 GB, free: 57.33 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00135/1.362, allocations: 0.8078 MB / 0.9184 GB, free: 56.52 MB / 0.6667 GB Notification: Performance of SimCode: time 9.82e-07/1.362, allocations: 0 / 0.9184 GB, free: 56.52 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1157/1.478, allocations: 45.98 MB / 0.9633 GB, free: 10.93 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002355/1.478, allocations: 243.3 kB / 0.9635 GB, free: 10.68 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.845/5.323, allocations: 64 / 0.9635 GB, free: 10.68 MB / 0.6667 GB