Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.595/1.595, allocations: 285.6 MB / 293.1 MB, free: 10.17 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.001417/0.001417, allocations: 176.9 kB / 361.4 MB, free: 6.805 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.605/1.605, allocations: 205.2 MB / 0.62 GB, free: 11.63 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001077/0.001077, allocations: 97.19 kB / 0.733 GB, free: 44.13 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.781e-05/2.784e-05, allocations: 4 kB / 0.8518 GB, free: 2.617 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9847/0.9848, allocations: 115.3 MB / 0.9645 GB, free: 78.81 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3166/1.301, allocations: 153.6 MB / 1.114 GB, free: 2.074 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005223/1.302, allocations: 93.34 kB / 1.115 GB, free: 1.984 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.118/1.42, allocations: 29.63 MB / 1.144 GB, free: 4.227 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.485e-06/1.42, allocations: 0 / 1.144 GB, free: 4.227 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.986e-05/1.42, allocations: 16 kB / 1.144 GB, free: 4.211 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001766/1.422, allocations: 0.7838 MB / 1.144 GB, free: 3.379 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6e-05/1.422, allocations: 12.03 kB / 1.144 GB, free: 3.367 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00232/1.424, allocations: 203.9 kB / 1.145 GB, free: 3.168 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001268/1.426, allocations: 0.4906 MB / 1.145 GB, free: 2.633 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.787e-05/1.426, allocations: 16 kB / 1.145 GB, free: 2.617 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/1.426, allocations: 31.98 kB / 1.145 GB, free: 2.586 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001128/1.427, allocations: 422.4 kB / 1.145 GB, free: 2.176 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00164/1.429, allocations: 0.8515 MB / 1.146 GB, free: 1.152 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.948e-05/1.429, allocations: 7.938 kB / 1.146 GB, free: 1.145 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.93e-05/1.429, allocations: 8 kB / 1.146 GB, free: 1.137 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001236/1.429, allocations: 48.75 kB / 1.146 GB, free: 1.086 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006374/1.435, allocations: 5.543 MB / 1.152 GB, free: 11.16 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000942/1.436, allocations: 440.2 kB / 1.152 GB, free: 10.72 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004635/1.437, allocations: 209.3 kB / 1.152 GB, free: 10.52 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.753e-05/1.437, allocations: 4 kB / 1.152 GB, free: 10.51 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.191e-05/1.437, allocations: 45.05 kB / 1.152 GB, free: 10.46 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=32): time 3.647e-06/1.437, allocations: 0 / 1.152 GB, free: 10.46 MB / 0.7605 GB Notification: Performance of matching and sorting (n=33): time 0.00235/1.439, allocations: 0.805 MB / 1.153 GB, free: 9.633 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.078e-05/1.439, allocations: 51.41 kB / 1.153 GB, free: 9.57 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005603/1.44, allocations: 366 kB / 1.154 GB, free: 9.207 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.418e-05/1.44, allocations: 25.7 kB / 1.154 GB, free: 9.176 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.000303/1.44, allocations: 347.5 kB / 1.154 GB, free: 8.828 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001291/1.44, allocations: 106.4 kB / 1.154 GB, free: 8.723 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.838e-05/1.441, allocations: 0 / 1.154 GB, free: 8.723 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001846/1.441, allocations: 370.7 kB / 1.154 GB, free: 8.352 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000396/1.441, allocations: 173.1 kB / 1.155 GB, free: 8.184 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000574/1.442, allocations: 384.7 kB / 1.155 GB, free: 7.703 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005151/1.442, allocations: 243.7 kB / 1.155 GB, free: 7.465 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.835e-06/1.442, allocations: 4 kB / 1.155 GB, free: 7.461 MB / 0.7605 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001743/1.444, allocations: 0.6889 MB / 1.156 GB, free: 6.75 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.076e-05/1.444, allocations: 9.406 kB / 1.156 GB, free: 6.742 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.768e-05/1.444, allocations: 12 kB / 1.156 GB, free: 6.73 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007401/1.445, allocations: 148.1 kB / 1.156 GB, free: 6.57 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007598/1.446, allocations: 119.7 kB / 1.156 GB, free: 6.453 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004088/1.45, allocations: 3.875 MB / 1.16 GB, free: 2.238 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006682/1.45, allocations: 23.97 kB / 1.16 GB, free: 2.215 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-05/1.45, allocations: 24 kB / 1.16 GB, free: 2.191 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001978/1.451, allocations: 133.4 kB / 1.16 GB, free: 2.059 MB / 0.7605 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001378/1.452, allocations: 0.5242 MB / 1.161 GB, free: 1.512 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001345/1.452, allocations: 55.34 kB / 1.161 GB, free: 1.457 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001635/1.454, allocations: 0.5699 MB / 1.161 GB, free: 0.8633 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/1.454, allocations: 4 kB / 1.161 GB, free: 0.8594 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/1.454, allocations: 0 / 1.161 GB, free: 0.8594 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.838e-06/1.454, allocations: 0 / 1.161 GB, free: 0.8594 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002816/1.457, allocations: 1.159 MB / 1.162 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/1.457, allocations: 0 / 1.162 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004895/1.457, allocations: 55.89 kB / 1.162 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006338/1.458, allocations: 140.4 kB / 1.163 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.11e-05/1.458, allocations: 0 / 1.163 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004128/1.462, allocations: 3.866 MB / 1.166 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/1.462, allocations: 4.062 kB / 1.166 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001666/1.464, allocations: 0.7506 MB / 1.167 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004031/1.464, allocations: 160.4 kB / 1.167 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.999e-05/1.464, allocations: 4 kB / 1.167 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004363/1.465, allocations: 15.97 kB / 1.167 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001227/1.465, allocations: 35.91 kB / 1.167 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.829e-05/1.465, allocations: 13.41 kB / 1.167 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0005123/1.466, allocations: 263 kB / 1.167 GB, free: 9.859 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5.21e-07/1.466, allocations: 7.938 kB / 1.168 GB, free: 9.852 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001104/1.467, allocations: 128 kB / 1.168 GB, free: 9.727 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(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.002113/1.469, allocations: 1.777 MB / 1.169 GB, free: 7.859 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.002023/1.471, allocations: 0.9601 MB / 1.17 GB, free: 6.828 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/1.471, allocations: 3.938 kB / 1.17 GB, free: 6.824 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001166/1.472, allocations: 0.7049 MB / 1.171 GB, free: 6.047 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001437/1.474, allocations: 174.1 kB / 1.171 GB, free: 5.887 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002602/1.476, allocations: 0.8416 MB / 1.172 GB, free: 4.984 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006737/1.477, allocations: 0.9217 MB / 1.173 GB, free: 4.035 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0005825/1.477, allocations: 114.3 kB / 1.173 GB, free: 3.922 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003586/1.478, allocations: 191.4 kB / 1.173 GB, free: 3.734 MB / 0.7761 GB Notification: Performance of SimCode: time 8.72e-07/1.478, allocations: 0 / 1.173 GB, free: 3.734 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04963/1.527, allocations: 10.76 MB / 1.184 GB, free: 9.207 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002869/1.528, allocations: 173.9 kB / 1.184 GB, free: 9.016 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.726/4.254, allocations: 0 / 1.184 GB, free: 9.016 MB / 0.7917 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1)