Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_LoadCtrl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_LoadCtrl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.617/2.617, allocations: 287.3 MB / 302.3 MB, free: 8.289 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001567/0.001566, allocations: 192 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.248/2.248, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001111/0.001111, allocations: 83 kB / 0.7428 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000487/0.0004871, allocations: 16.5 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.212/0.2125, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl): time 0.02464/0.2372, allocations: 16.89 MB / 0.9948 GB, free: 11.35 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01749/0.2547, allocations: 8.925 MB / 1.004 GB, free: 2.406 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001925/0.2567, allocations: 55.75 kB / 1.004 GB, free: 2.352 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001987/0.2588, allocations: 417.4 kB / 1.004 GB, free: 1.941 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.005566/0.2644, allocations: 1.242 MB / 1.005 GB, free: 0.6953 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.004117/0.2685, allocations: 0.9187 MB / 1.006 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.005311/0.2739, allocations: 1.931 MB / 1.008 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01316/0.2871, allocations: 5.578 MB / 1.013 GB, free: 8.199 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003096/0.2903, allocations: 1.126 MB / 1.014 GB, free: 7.07 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002898/0.2932, allocations: 1.102 MB / 1.016 GB, free: 5.965 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0007978/0.2941, allocations: 152 kB / 1.016 GB, free: 5.816 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001725/0.2958, allocations: 339.6 kB / 1.016 GB, free: 5.484 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.002011/0.2979, allocations: 1.06 MB / 1.017 GB, free: 4.422 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001374/0.2993, allocations: 0.5355 MB / 1.018 GB, free: 3.879 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.008374/0.3077, allocations: 4.469 MB / 1.022 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.3078, allocations: 0 / 1.022 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.978e-06/0.3078, allocations: 0 / 1.022 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001607/0.3079, allocations: 0 / 1.022 GB, free: 15.4 MB / 0.6511 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.008423/0.3164, allocations: 2.419 MB / 1.024 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.768e-05/0.3165, allocations: 8.031 kB / 1.024 GB, free: 12.9 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001333/0.3178, allocations: 386.6 kB / 1.025 GB, free: 12.51 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004758/0.3226, allocations: 0.5238 MB / 1.025 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004958/0.3276, allocations: 1.482 MB / 1.027 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002933/0.3279, allocations: 214.6 kB / 1.027 GB, free: 10.24 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008806/0.3288, allocations: 255.9 kB / 1.027 GB, free: 9.988 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01191/0.3407, allocations: 3.862 MB / 1.031 GB, free: 6.051 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001051/0.3409, allocations: 7.906 kB / 1.031 GB, free: 6.043 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004454/0.3414, allocations: 96 kB / 1.031 GB, free: 5.949 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008231/0.3422, allocations: 196.9 kB / 1.031 GB, free: 5.754 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009872/0.3521, allocations: 3.104 MB / 1.034 GB, free: 2.637 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03131/0.3835, allocations: 13.76 MB / 1.048 GB, free: 3.746 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002497/0.386, allocations: 0.7615 MB / 1.048 GB, free: 2.98 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002868/0.3864, allocations: 93.53 kB / 1.048 GB, free: 2.871 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001389/0.3878, allocations: 0.589 MB / 1.049 GB, free: 2.223 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=56): time 4.158e-06/0.3878, allocations: 4 kB / 1.049 GB, free: 2.219 MB / 0.6667 GB Notification: Performance of matching and sorting (n=78): time 0.04772/0.4355, allocations: 8.935 MB / 1.058 GB, free: 9.086 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002745/0.4359, allocations: 418.1 kB / 1.058 GB, free: 8.586 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00285/0.4387, allocations: 1.234 MB / 1.059 GB, free: 7.34 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002283/0.439, allocations: 45.69 kB / 1.059 GB, free: 7.289 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.00157/0.4406, allocations: 1.243 MB / 1.061 GB, free: 6.027 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000543/0.4412, allocations: 284.1 kB / 1.061 GB, free: 5.746 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001972/0.4414, allocations: 32 kB / 1.061 GB, free: 5.715 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002339/0.4416, allocations: 369.9 kB / 1.061 GB, free: 5.348 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002324/0.444, allocations: 0.7495 MB / 1.062 GB, free: 4.598 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003118/0.4471, allocations: 1.453 MB / 1.063 GB, free: 2.816 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003119/0.4503, allocations: 1.099 MB / 1.065 GB, free: 1.703 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-05/0.4504, allocations: 8 kB / 1.065 GB, free: 1.695 MB / 0.6823 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.6236/1.074, allocations: 3.548 MB / 1.068 GB, free: 82.14 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.002108/1.076, allocations: 9.19 MB / 1.077 GB, free: 72.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-05/1.076, allocations: 22.22 kB / 1.077 GB, free: 72.57 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01129/1.088, allocations: 1.423 MB / 1.078 GB, free: 72.49 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002181/1.09, allocations: 301.5 kB / 1.079 GB, free: 72.48 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02601/1.116, allocations: 11 MB / 1.089 GB, free: 65.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002667/1.119, allocations: 141.6 kB / 1.09 GB, free: 65.12 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002272/1.119, allocations: 78.92 kB / 1.09 GB, free: 65.11 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/1.119, allocations: 8.609 kB / 1.09 GB, free: 65.11 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01231/1.131, allocations: 3.021 MB / 1.093 GB, free: 64.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001403/1.131, allocations: 25.72 kB / 1.093 GB, free: 64.09 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007183/1.139, allocations: 0.9387 MB / 1.094 GB, free: 63.96 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002428/1.141, allocations: 343.2 kB / 1.094 GB, free: 63.91 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01536/1.156, allocations: 6.103 MB / 1.1 GB, free: 60 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002425/1.159, allocations: 121.8 kB / 1.1 GB, free: 59.97 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002169/1.159, allocations: 80.39 kB / 1.1 GB, free: 59.96 MB / 0.6823 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.002703/1.162, allocations: 1.114 MB / 1.101 GB, free: 59.38 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004195/1.162, allocations: 134.5 kB / 1.101 GB, free: 59.38 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01247/1.175, allocations: 2.582 MB / 1.104 GB, free: 58.55 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.199e-05/1.175, allocations: 7.719 kB / 1.104 GB, free: 58.55 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.46e-05/1.175, allocations: 3.906 kB / 1.104 GB, free: 58.55 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.857e-05/1.175, allocations: 8.484 kB / 1.104 GB, free: 58.54 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01696/1.192, allocations: 5.12 MB / 1.109 GB, free: 56.56 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.294e-05/1.192, allocations: 3.969 kB / 1.109 GB, free: 56.56 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008277/1.193, allocations: 97.33 kB / 1.109 GB, free: 56.55 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009404/1.202, allocations: 1.325 MB / 1.11 GB, free: 56.35 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001507/1.202, allocations: 18.67 kB / 1.11 GB, free: 56.34 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02198/1.224, allocations: 10.65 MB / 1.121 GB, free: 48.02 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.793e-06/1.224, allocations: 7.422 kB / 1.121 GB, free: 48.02 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01372/1.238, allocations: 3.698 MB / 1.124 GB, free: 45.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009825/1.239, allocations: 318.2 kB / 1.124 GB, free: 45.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000299/1.24, allocations: 29.17 kB / 1.124 GB, free: 45.55 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001581/1.241, allocations: 84.33 kB / 1.125 GB, free: 45.52 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004526/1.242, allocations: 71.8 kB / 1.125 GB, free: 45.47 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.408e-05/1.242, allocations: 28.17 kB / 1.125 GB, free: 45.46 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00171/1.243, allocations: 0.8247 MB / 1.125 GB, free: 45 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.423e-06/1.243, allocations: 0 / 1.125 GB, free: 45 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004659/1.248, allocations: 0.8969 MB / 1.126 GB, free: 44.93 MB / 0.6823 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.01412/1.262, allocations: 4.905 MB / 1.131 GB, free: 41.49 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01418/1.277, allocations: 4.441 MB / 1.135 GB, free: 38.73 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.648e-06/1.277, allocations: 3.938 kB / 1.135 GB, free: 38.72 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00534/1.282, allocations: 1.597 MB / 1.137 GB, free: 37.61 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002565/1.285, allocations: 338.1 kB / 1.137 GB, free: 37.45 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03891/1.323, allocations: 28.4 MB / 1.165 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00291/1.326, allocations: 2.064 MB / 1.167 GB, free: 8.043 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003058/1.33, allocations: 0.6745 MB / 1.168 GB, free: 7.363 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001544/1.331, allocations: 0.8039 MB / 1.169 GB, free: 6.559 MB / 0.6823 GB Notification: Performance of SimCode: time 1.373e-06/1.331, allocations: 0 / 1.169 GB, free: 6.559 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1239/1.455, allocations: 45.97 MB / 1.213 GB, free: 9.102 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003844/1.456, allocations: 238.1 kB / 1.214 GB, free: 8.855 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.857/5.313, allocations: 0 / 1.214 GB, free: 8.855 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_LoadCtrl_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_LoadCtrl.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.pipe 2>&1)