Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.454/1.454, allocations: 249.5 MB / 257 MB, free: 6.895 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00106/0.00106, allocations: 187.3 kB / 316.3 MB, free: 3.207 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.639/1.639, allocations: 205.3 MB / 0.5671 GB, free: 15.77 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008274/0.0008272, allocations: 82.55 kB / 0.6714 GB, free: 4.895 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.988e-05/1.989e-05, allocations: 4 kB / 0.7815 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2273/0.2273, allocations: 106.3 MB / 0.8853 GB, free: 12.11 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7814/1.009, allocations: 156.3 MB / 1.038 GB, free: 14.99 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003134/1.009, allocations: 97.8 kB / 1.038 GB, free: 14.93 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.2043/1.213, allocations: 85.89 MB / 1.122 GB, free: 3.113 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.763e-06/1.213, allocations: 0 / 1.122 GB, free: 3.113 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.596e-05/1.214, allocations: 43.94 kB / 1.122 GB, free: 3.07 MB / 0.7292 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.002942/1.217, allocations: 1.533 MB / 1.123 GB, free: 1.484 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.051e-05/1.217, allocations: 12.03 kB / 1.123 GB, free: 1.473 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004611/1.221, allocations: 0.6145 MB / 1.124 GB, free: 0.8555 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001622/1.223, allocations: 0.892 MB / 1.125 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.722e-05/1.223, allocations: 40 kB / 1.125 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001914/1.223, allocations: 75.91 kB / 1.125 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002223/1.225, allocations: 1.345 MB / 1.126 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003067/1.228, allocations: 2.109 MB / 1.128 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.224e-05/1.228, allocations: 19.88 kB / 1.128 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001201/1.229, allocations: 12 kB / 1.128 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001964/1.229, allocations: 138.3 kB / 1.129 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01281/1.242, allocations: 12.22 MB / 1.141 GB, free: 14.73 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003547/1.245, allocations: 1.798 MB / 1.142 GB, free: 12.92 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007571/1.246, allocations: 0.5669 MB / 1.143 GB, free: 12.36 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001829/1.246, allocations: 102.4 kB / 1.143 GB, free: 12.24 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.936e-05/1.246, allocations: 43.88 kB / 1.143 GB, free: 12.19 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=103): time 4.979e-06/1.246, allocations: 0 / 1.143 GB, free: 12.19 MB / 0.7605 GB Notification: Performance of matching and sorting (n=110): time 0.004652/1.251, allocations: 2.419 MB / 1.145 GB, free: 9.754 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.763e-05/1.251, allocations: 64.72 kB / 1.145 GB, free: 9.68 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008289/1.252, allocations: 0.6483 MB / 1.146 GB, free: 9.012 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 5.675e-05/1.252, allocations: 29.69 kB / 1.146 GB, free: 8.977 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004799/1.252, allocations: 0.716 MB / 1.147 GB, free: 8.25 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003032/1.253, allocations: 370.5 kB / 1.147 GB, free: 7.883 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.679e-05/1.253, allocations: 0 / 1.147 GB, free: 7.883 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.000174/1.253, allocations: 361.9 kB / 1.147 GB, free: 7.523 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000784/1.254, allocations: 0.5661 MB / 1.148 GB, free: 6.957 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001082/1.255, allocations: 0.9857 MB / 1.149 GB, free: 5.781 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001602/1.256, allocations: 0.8531 MB / 1.15 GB, free: 4.926 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.333e-06/1.256, allocations: 4 kB / 1.15 GB, free: 4.922 MB / 0.7605 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.003508/1.26, allocations: 1.994 MB / 1.152 GB, free: 2.895 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.867e-05/1.26, allocations: 12 kB / 1.152 GB, free: 2.883 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.874e-05/1.26, allocations: 12.91 kB / 1.152 GB, free: 2.871 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007493/1.261, allocations: 254.6 kB / 1.152 GB, free: 2.598 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001231/1.262, allocations: 363.4 kB / 1.152 GB, free: 2.242 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008003/1.27, allocations: 10.33 MB / 1.162 GB, free: 6.992 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001465/1.272, allocations: 87.86 kB / 1.163 GB, free: 6.906 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001161/1.272, allocations: 67.98 kB / 1.163 GB, free: 6.84 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 171 * 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.0002984/1.272, allocations: 152.5 kB / 1.163 GB, free: 6.684 MB / 0.7761 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002738/1.275, allocations: 1.478 MB / 1.164 GB, free: 5.176 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002053/1.275, allocations: 122.5 kB / 1.164 GB, free: 5.055 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002962/1.278, allocations: 1.635 MB / 1.166 GB, free: 3.379 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.386e-05/1.278, allocations: 12 kB / 1.166 GB, free: 3.367 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/1.278, allocations: 0 / 1.166 GB, free: 3.367 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.384e-05/1.278, allocations: 11.97 kB / 1.166 GB, free: 3.355 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005102/1.283, allocations: 3.05 MB / 1.169 GB, free: 172 kB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/1.283, allocations: 4 kB / 1.169 GB, free: 168 kB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008796/1.284, allocations: 223.6 kB / 1.169 GB, free: 15.95 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006766/1.285, allocations: 231.4 kB / 1.169 GB, free: 15.7 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.92e-05/1.285, allocations: 15.95 kB / 1.169 GB, free: 15.68 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00805/1.293, allocations: 10.3 MB / 1.179 GB, free: 4.461 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.085e-05/1.293, allocations: 16.19 kB / 1.179 GB, free: 4.445 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003302/1.296, allocations: 2.04 MB / 1.181 GB, free: 2.172 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000594/1.297, allocations: 315.4 kB / 1.182 GB, free: 1.844 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001365/1.297, allocations: 8 kB / 1.182 GB, free: 1.836 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006872/1.298, allocations: 75.84 kB / 1.182 GB, free: 1.762 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001844/1.298, allocations: 100.5 kB / 1.182 GB, free: 1.66 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.106e-05/1.298, allocations: 36 kB / 1.182 GB, free: 1.625 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0006632/1.299, allocations: 0.49 MB / 1.182 GB, free: 1.125 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.3e-07/1.299, allocations: 0 / 1.182 GB, free: 1.125 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001459/1.3, allocations: 351.9 kB / 1.183 GB, free: 0.7812 MB / 0.7917 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 () * 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.00368/1.304, allocations: 4.116 MB / 1.187 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.003177/1.307, allocations: 2.304 MB / 1.189 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/1.307, allocations: 0 / 1.189 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.001867/1.309, allocations: 1.534 MB / 1.191 GB, free: 8.473 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001554/1.31, allocations: 280.4 kB / 1.191 GB, free: 8.203 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004601/1.315, allocations: 2.38 MB / 1.193 GB, free: 5.699 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009788/1.316, allocations: 1.371 MB / 1.194 GB, free: 4.297 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.001047/1.317, allocations: 338.4 kB / 1.195 GB, free: 3.961 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000638/1.318, allocations: 0.5149 MB / 1.195 GB, free: 3.445 MB / 0.8073 GB Notification: Performance of SimCode: time 1.263e-06/1.318, allocations: 0 / 1.195 GB, free: 3.445 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05563/1.373, allocations: 24.83 MB / 1.22 GB, free: 10.79 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002014/1.374, allocations: 179.4 kB / 1.22 GB, free: 10.59 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.568/3.942, allocations: 3.656 kB / 1.22 GB, free: 10.59 MB / 0.8386 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1)