Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",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.901/2.901, allocations: 287.5 MB / 302.4 MB, free: 8.285 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.001304/0.001304, allocations: 186.2 kB / 371 MB, free: 10.87 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.223/2.223, allocations: 205.4 MB / 0.6297 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.0008827/0.0008825, allocations: 93.78 kB / 0.743 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004954/0.0004955, allocations: 15.48 kB / 0.8659 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2142/0.2147, allocations: 115.3 MB / 0.9785 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01431/0.2291, allocations: 9.935 MB / 0.9882 GB, free: 18.31 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01096/0.2401, allocations: 5.485 MB / 0.9935 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001385/0.2415, allocations: 47.62 kB / 0.9936 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0009102/0.2425, allocations: 241.9 kB / 0.9938 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.003456/0.2459, allocations: 0.8902 MB / 0.9947 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002576/0.2486, allocations: 0.5808 MB / 0.9952 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.003682/0.2523, allocations: 2.352 MB / 0.9975 GB, free: 8.684 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005377/0.2577, allocations: 2.168 MB / 0.9996 GB, free: 6.488 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001573/0.2593, allocations: 0.6962 MB / 1 GB, free: 5.789 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001649/0.261, allocations: 0.8249 MB / 1.001 GB, free: 4.961 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0003339/0.2613, allocations: 59.94 kB / 1.001 GB, free: 4.902 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002122/0.2635, allocations: 0.6085 MB / 1.002 GB, free: 4.293 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0007126/0.2642, allocations: 462.6 kB / 1.002 GB, free: 3.84 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000484/0.2647, allocations: 292.9 kB / 1.003 GB, free: 3.547 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.003154/0.2679, allocations: 1.796 MB / 1.004 GB, free: 1.746 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.268, allocations: 0 / 1.004 GB, free: 1.746 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.346e-06/0.268, allocations: 0 / 1.004 GB, free: 1.746 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.756e-05/0.268, allocations: 0 / 1.004 GB, free: 1.746 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: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.003651/0.2717, allocations: 1.62 MB / 1.006 GB, free: 72 kB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.2718, allocations: 8.031 kB / 1.006 GB, free: 64 kB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004934/0.2723, allocations: 215.2 kB / 1.006 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007101/0.2794, allocations: 0.6767 MB / 1.007 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002802/0.2822, allocations: 0.8867 MB / 1.008 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001244/0.2824, allocations: 90.53 kB / 1.008 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000376/0.2828, allocations: 124 kB / 1.008 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005685/0.2885, allocations: 2.198 MB / 1.01 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.942e-05/0.2886, allocations: 27.77 kB / 1.01 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002208/0.2889, allocations: 51.98 kB / 1.01 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003865/0.2893, allocations: 170.2 kB / 1.01 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004988/0.2943, allocations: 1.851 MB / 1.012 GB, free: 9.484 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01929/0.3136, allocations: 12.48 MB / 1.024 GB, free: 12.06 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007956/0.3216, allocations: 1.953 MB / 1.026 GB, free: 10.1 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001646/0.3233, allocations: 0.6088 MB / 1.027 GB, free: 9.484 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002741/0.3236, allocations: 106 kB / 1.027 GB, free: 9.363 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.252e-05/0.3236, allocations: 51.52 kB / 1.027 GB, free: 9.305 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=103): time 4.048e-06/0.3237, allocations: 0 / 1.027 GB, free: 9.305 MB / 0.6511 GB Notification: Performance of matching and sorting (n=110): time 0.0105/0.3342, allocations: 3.702 MB / 1.03 GB, free: 5.441 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.28e-05/0.3343, allocations: 68.34 kB / 1.03 GB, free: 5.359 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001779/0.3361, allocations: 0.9126 MB / 1.031 GB, free: 4.43 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001864/0.3363, allocations: 45.7 kB / 1.031 GB, free: 4.379 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008128/0.3371, allocations: 0.7198 MB / 1.032 GB, free: 3.648 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005504/0.3377, allocations: 402.4 kB / 1.033 GB, free: 3.25 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001214/0.3378, allocations: 28 kB / 1.033 GB, free: 3.223 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001992/0.338, allocations: 361.9 kB / 1.033 GB, free: 2.863 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001655/0.3397, allocations: 0.609 MB / 1.033 GB, free: 2.254 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002222/0.3419, allocations: 1.094 MB / 1.035 GB, free: 0.9414 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002143/0.3441, allocations: 0.7681 MB / 1.035 GB, free: 176 kB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.041e-05/0.3442, allocations: 4 kB / 1.035 GB, free: 172 kB / 0.6511 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.006004/0.3502, allocations: 2.08 MB / 1.037 GB, free: 14.05 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 4.092e-05/0.3503, allocations: 15.95 kB / 1.037 GB, free: 14.04 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.078e-05/0.3503, allocations: 16 kB / 1.037 GB, free: 14.02 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001372/0.3517, allocations: 267 kB / 1.038 GB, free: 13.73 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002694/0.3544, allocations: 375.4 kB / 1.038 GB, free: 13.37 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01241/0.3669, allocations: 10.74 MB / 1.048 GB, free: 1.559 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002098/0.369, allocations: 128 kB / 1.049 GB, free: 1.434 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002541/0.3693, allocations: 71.98 kB / 1.049 GB, free: 1.363 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (187): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001067/0.3704, allocations: 401.8 kB / 1.049 GB, free: 0.9609 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004139/0.3708, allocations: 134.4 kB / 1.049 GB, free: 0.8281 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005179/0.376, allocations: 1.677 MB / 1.051 GB, free: 15.12 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-05/0.3761, allocations: 16 kB / 1.051 GB, free: 15.11 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.3761, allocations: 0 / 1.051 GB, free: 15.11 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.239e-05/0.3761, allocations: 3.984 kB / 1.051 GB, free: 15.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008944/0.3851, allocations: 3.287 MB / 1.054 GB, free: 11.67 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-05/0.3852, allocations: 4.688 kB / 1.054 GB, free: 11.66 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001742/0.3869, allocations: 227.6 kB / 1.054 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00126/0.3882, allocations: 250.5 kB / 1.054 GB, free: 11.17 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00013/0.3883, allocations: 28 kB / 1.055 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6183/1.007, allocations: 10.72 MB / 1.065 GB, free: 81.79 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.354e-05/1.007, allocations: 9.734 kB / 1.065 GB, free: 81.79 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005103/1.012, allocations: 1.785 MB / 1.067 GB, free: 81.39 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000993/1.013, allocations: 323.6 kB / 1.067 GB, free: 81.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003037/1.013, allocations: 28.62 kB / 1.067 GB, free: 81.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001328/1.015, allocations: 91.11 kB / 1.067 GB, free: 81.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003174/1.015, allocations: 98.2 kB / 1.067 GB, free: 81.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001171/1.015, allocations: 35.8 kB / 1.067 GB, free: 81.3 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001249/1.016, allocations: 0.6078 MB / 1.068 GB, free: 81.19 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4e-07/1.016, allocations: 0 / 1.068 GB, free: 81.19 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002376/1.019, allocations: 392.6 kB / 1.068 GB, free: 81.19 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005442/1.024, allocations: 2.387 MB / 1.071 GB, free: 80.23 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006222/1.03, allocations: 2.481 MB / 1.073 GB, free: 78.88 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.146e-05/1.03, allocations: 1.531 kB / 1.073 GB, free: 78.88 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.003627/1.034, allocations: 1.629 MB / 1.075 GB, free: 77.77 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003064/1.037, allocations: 329.8 kB / 1.075 GB, free: 77.68 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02317/1.06, allocations: 8.517 MB / 1.083 GB, free: 72.91 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001535/1.062, allocations: 1.327 MB / 1.085 GB, free: 72.14 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002162/1.064, allocations: 367 kB / 1.085 GB, free: 72.09 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001396/1.066, allocations: 0.5213 MB / 1.085 GB, free: 71.69 MB / 0.6823 GB Notification: Performance of SimCode: time 1.433e-06/1.066, allocations: 0.5469 kB / 1.085 GB, free: 71.69 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09858/1.164, allocations: 26.76 MB / 1.112 GB, free: 63.57 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003289/1.165, allocations: 225.4 kB / 1.112 GB, free: 63.34 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.88/5.044, allocations: 0 / 1.112 GB, free: 63.34 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1)