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.722/2.722, allocations: 287.5 MB / 302.4 MB, free: 8.352 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.001424/0.001424, allocations: 182.5 kB / 371 MB, free: 10.84 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.236/2.236, allocations: 205.4 MB / 0.6297 GB, free: 10.56 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.001544/0.001544, allocations: 88.94 kB / 0.743 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006421/0.0006423, allocations: 10.34 kB / 0.8659 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2162/0.2169, allocations: 115.3 MB / 0.9785 GB, free: 28.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl): time 0.02539/0.2424, allocations: 17.43 MB / 0.9955 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01977/0.2622, allocations: 9.099 MB / 1.004 GB, free: 1.629 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0025/0.2648, allocations: 59.75 kB / 1.004 GB, free: 1.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002147/0.267, allocations: 349.4 kB / 1.005 GB, free: 1.227 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.006251/0.2733, allocations: 1.112 MB / 1.006 GB, free: 112 kB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.004877/0.2782, allocations: 0.678 MB / 1.007 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.01165/0.2899, allocations: 4.498 MB / 1.011 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01982/0.3098, allocations: 5.574 MB / 1.016 GB, free: 5.281 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005125/0.315, allocations: 1.32 MB / 1.018 GB, free: 3.957 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005898/0.321, allocations: 1.628 MB / 1.019 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.001161/0.3222, allocations: 152 kB / 1.019 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002823/0.325, allocations: 363.6 kB / 1.02 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.003696/0.3288, allocations: 1.15 MB / 1.021 GB, free: 0.668 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.002227/0.3311, allocations: 0.5316 MB / 1.021 GB, free: 132 kB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.01056/0.3417, allocations: 4.477 MB / 1.026 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.063e-05/0.3418, allocations: 3.938 kB / 1.026 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.346e-06/0.3418, allocations: 0 / 1.026 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002055/0.342, allocations: 4 kB / 1.026 GB, free: 11.63 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.01222/0.3543, allocations: 2.419 MB / 1.028 GB, free: 9.141 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 7.081e-05/0.3544, allocations: 8.031 kB / 1.028 GB, free: 9.133 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00198/0.3564, allocations: 386.6 kB / 1.028 GB, free: 8.746 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007315/0.3637, allocations: 0.5082 MB / 1.029 GB, free: 8.234 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007069/0.3709, allocations: 1.486 MB / 1.03 GB, free: 6.703 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004521/0.3714, allocations: 214.6 kB / 1.031 GB, free: 6.484 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001438/0.3728, allocations: 240 kB / 1.031 GB, free: 6.25 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.018/0.3909, allocations: 3.886 MB / 1.035 GB, free: 2.289 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001477/0.3911, allocations: 7.891 kB / 1.035 GB, free: 2.281 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008549/0.392, allocations: 104 kB / 1.035 GB, free: 2.18 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001187/0.3932, allocations: 192.9 kB / 1.035 GB, free: 1.988 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01474/0.408, allocations: 3.104 MB / 1.038 GB, free: 14.87 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04277/0.4508, allocations: 13.75 MB / 1.051 GB, free: 15.98 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003249/0.4541, allocations: 0.7354 MB / 1.052 GB, free: 15.24 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001972/0.4562, allocations: 0.5232 MB / 1.053 GB, free: 14.71 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000285/0.4565, allocations: 97.44 kB / 1.053 GB, free: 14.61 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001844/0.4583, allocations: 0.6018 MB / 1.053 GB, free: 13.94 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=56): time 4.158e-06/0.4584, allocations: 0 / 1.053 GB, free: 13.94 MB / 0.6823 GB Notification: Performance of matching and sorting (n=78): time 0.06725/0.5256, allocations: 8.837 MB / 1.062 GB, free: 4.926 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003755/0.5261, allocations: 410.1 kB / 1.062 GB, free: 4.434 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004218/0.5303, allocations: 1.23 MB / 1.064 GB, free: 3.191 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002884/0.5307, allocations: 45.7 kB / 1.064 GB, free: 3.141 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.002128/0.5328, allocations: 1.247 MB / 1.065 GB, free: 1.875 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006962/0.5335, allocations: 288.1 kB / 1.065 GB, free: 1.59 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002414/0.5338, allocations: 32 kB / 1.065 GB, free: 1.559 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0003307/0.5342, allocations: 369.9 kB / 1.065 GB, free: 1.191 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003185/0.5374, allocations: 0.7417 MB / 1.066 GB, free: 460 kB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.6272/1.165, allocations: 1.449 MB / 1.068 GB, free: 83.13 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003214/1.168, allocations: 1.11 MB / 1.069 GB, free: 83.04 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.884e-05/1.168, allocations: 6.781 kB / 1.069 GB, free: 83.04 MB / 0.6823 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.01651/1.184, allocations: 3.542 MB / 1.072 GB, free: 81.94 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006034/1.185, allocations: 0.8287 MB / 1.073 GB, free: 80.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.916e-05/1.185, allocations: 24.33 kB / 1.073 GB, free: 80.84 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01142/1.197, allocations: 1.423 MB / 1.074 GB, free: 80.63 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002262/1.199, allocations: 303.3 kB / 1.075 GB, free: 80.59 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0262/1.225, allocations: 10.68 MB / 1.085 GB, free: 73.35 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002877/1.228, allocations: 142.9 kB / 1.085 GB, free: 73.32 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003927/1.229, allocations: 79.75 kB / 1.085 GB, free: 73.31 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/1.229, allocations: 4.219 kB / 1.085 GB, free: 73.31 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0125/1.241, allocations: 3.012 MB / 1.088 GB, free: 72.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001168/1.241, allocations: 23.59 kB / 1.088 GB, free: 72.27 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007164/1.248, allocations: 0.9493 MB / 1.089 GB, free: 72.13 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002481/1.251, allocations: 334.6 kB / 1.09 GB, free: 72.09 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01515/1.266, allocations: 5.92 MB / 1.095 GB, free: 68.26 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002402/1.269, allocations: 123.8 kB / 1.095 GB, free: 68.23 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003887/1.269, allocations: 82.61 kB / 1.095 GB, free: 68.21 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.002806/1.272, allocations: 1.113 MB / 1.097 GB, free: 67.64 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004133/1.272, allocations: 135.2 kB / 1.097 GB, free: 67.64 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01202/1.284, allocations: 2.58 MB / 1.099 GB, free: 66.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-05/1.284, allocations: 8.531 kB / 1.099 GB, free: 66.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.16e-05/1.284, allocations: 11.83 kB / 1.099 GB, free: 66.79 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.654e-05/1.285, allocations: 7.625 kB / 1.099 GB, free: 66.79 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01714/1.302, allocations: 5.231 MB / 1.104 GB, free: 64.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.846e-05/1.302, allocations: 7.062 kB / 1.104 GB, free: 64.69 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008676/1.303, allocations: 93.72 kB / 1.104 GB, free: 64.69 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009501/1.312, allocations: 1.326 MB / 1.106 GB, free: 64.26 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001945/1.312, allocations: 19.94 kB / 1.106 GB, free: 64.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02115/1.334, allocations: 10.34 MB / 1.116 GB, free: 55.93 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.411e-06/1.334, allocations: 2.594 kB / 1.116 GB, free: 55.93 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01349/1.347, allocations: 3.577 MB / 1.119 GB, free: 53.82 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008765/1.348, allocations: 325.8 kB / 1.12 GB, free: 53.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003002/1.348, allocations: 20.75 kB / 1.12 GB, free: 53.55 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001558/1.35, allocations: 80.36 kB / 1.12 GB, free: 53.52 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004278/1.35, allocations: 83.11 kB / 1.12 GB, free: 53.47 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.883e-05/1.35, allocations: 20.47 kB / 1.12 GB, free: 53.47 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001663/1.352, allocations: 0.8297 MB / 1.121 GB, free: 53 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.71e-07/1.352, allocations: 0 / 1.121 GB, free: 53 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004927/1.357, allocations: 0.8927 MB / 1.122 GB, free: 52.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.014/1.371, allocations: 4.166 MB / 1.126 GB, free: 50.26 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01345/1.385, allocations: 4.436 MB / 1.13 GB, free: 47.49 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.023e-05/1.385, allocations: 0 / 1.13 GB, free: 47.49 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.005335/1.39, allocations: 1.605 MB / 1.132 GB, free: 46.38 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002958/1.393, allocations: 357.1 kB / 1.132 GB, free: 46.21 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03302/1.426, allocations: 12.75 MB / 1.144 GB, free: 33.14 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002374/1.429, allocations: 2.022 MB / 1.146 GB, free: 31.08 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003003/1.432, allocations: 0.6667 MB / 1.147 GB, free: 30.41 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001383/1.433, allocations: 0.8078 MB / 1.148 GB, free: 29.6 MB / 0.6823 GB Notification: Performance of SimCode: time 1.072e-06/1.433, allocations: 0 / 1.148 GB, free: 29.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1143/1.547, allocations: 46.06 MB / 1.193 GB, free: 40 kB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003049/1.548, allocations: 244 kB / 1.193 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.014/5.562, allocations: 0 / 1.193 GB, free: 15.79 MB / 0.7136 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)