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.696/1.696, allocations: 288.2 MB / 303.2 MB, free: 8.16 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.001133/0.001134, allocations: 189.8 kB / 371.8 MB, free: 10.28 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.568/1.568, allocations: 205.4 MB / 0.6305 GB, free: 10.03 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.0008477/0.0008478, allocations: 101.1 kB / 0.7439 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004131/0.0004129, allocations: 15.38 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.203/0.2035, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7335/0.9371, allocations: 154.4 MB / 1.13 GB, free: 16.01 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000269/0.9374, allocations: 99.78 kB / 1.13 GB, free: 16.01 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0617/0.9991, allocations: 29.92 MB / 1.16 GB, free: 16.96 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.764e-06/0.9991, allocations: 0 / 1.16 GB, free: 16.96 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.344e-05/0.9992, allocations: 24 kB / 1.16 GB, free: 16.94 MB / 0.698 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.001688/1.001, allocations: 0.8637 MB / 1.16 GB, free: 16.08 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/1.001, allocations: 12.03 kB / 1.16 GB, free: 16.07 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001906/1.001, allocations: 89.08 kB / 1.161 GB, free: 16 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001381/1.003, allocations: 213.2 kB / 1.161 GB, free: 15.79 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009142/1.003, allocations: 493.9 kB / 1.161 GB, free: 15.33 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.063e-05/1.004, allocations: 31.69 kB / 1.161 GB, free: 15.31 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.959e-05/1.004, allocations: 45.23 kB / 1.161 GB, free: 15.28 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001161/1.005, allocations: 0.923 MB / 1.162 GB, free: 14.37 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.37e-05/1.005, allocations: 11.84 kB / 1.162 GB, free: 14.36 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.411e-05/1.005, allocations: 25.12 kB / 1.162 GB, free: 14.35 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.107e-05/1.005, allocations: 54.72 kB / 1.162 GB, free: 14.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008856/1.006, allocations: 0.5632 MB / 1.163 GB, free: 13.91 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004509/1.01, allocations: 5.669 MB / 1.168 GB, free: 8.277 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006134/1.011, allocations: 456.7 kB / 1.169 GB, free: 7.957 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.062e-05/1.011, allocations: 4 kB / 1.169 GB, free: 7.953 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/1.011, allocations: 37.81 kB / 1.169 GB, free: 7.91 MB / 0.698 GB Notification: Performance of pre-optimization done (n=32): time 2.374e-06/1.011, allocations: 0 / 1.169 GB, free: 7.91 MB / 0.698 GB Notification: Performance of matching and sorting (n=33): time 0.002545/1.014, allocations: 1.497 MB / 1.17 GB, free: 6.547 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.489e-05/1.014, allocations: 63.34 kB / 1.17 GB, free: 6.473 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005051/1.014, allocations: 444.7 kB / 1.171 GB, free: 6.113 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.966e-05/1.014, allocations: 32.83 kB / 1.171 GB, free: 6.082 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000223/1.015, allocations: 351.6 kB / 1.171 GB, free: 5.828 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/1.015, allocations: 115.6 kB / 1.171 GB, free: 5.734 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.145e-05/1.015, allocations: 11.19 kB / 1.171 GB, free: 5.73 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001625/1.015, allocations: 366.9 kB / 1.172 GB, free: 5.387 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002641/1.015, allocations: 188.3 kB / 1.172 GB, free: 5.266 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004337/1.016, allocations: 410.7 kB / 1.172 GB, free: 4.836 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003582/1.016, allocations: 256.4 kB / 1.172 GB, free: 4.672 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.199e-06/1.016, allocations: 4 kB / 1.172 GB, free: 4.668 MB / 0.698 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001206/1.017, allocations: 0.7658 MB / 1.173 GB, free: 4.062 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/1.017, allocations: 8 kB / 1.173 GB, free: 4.055 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/1.017, allocations: 8 kB / 1.173 GB, free: 4.047 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004955/1.018, allocations: 157.4 kB / 1.173 GB, free: 3.902 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004497/1.018, allocations: 114.9 kB / 1.173 GB, free: 3.793 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00328/1.021, allocations: 4.068 MB / 1.177 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004298/1.022, allocations: 33.78 kB / 1.177 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.58e-05/1.022, allocations: 27.94 kB / 1.177 GB, free: 15.46 MB / 0.7136 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 () * Number of clocked 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.0003494/1.022, allocations: 208.8 kB / 1.178 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/1.022, allocations: 67.25 kB / 1.178 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000984/1.023, allocations: 0.5994 MB / 1.178 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/1.023, allocations: 4 kB / 1.178 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/1.023, allocations: 0 / 1.178 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/1.023, allocations: 3.984 kB / 1.178 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001928/1.025, allocations: 1.254 MB / 1.18 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/1.025, allocations: 4 kB / 1.18 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002506/1.026, allocations: 55.88 kB / 1.18 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004044/1.026, allocations: 144.8 kB / 1.18 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.534e-05/1.026, allocations: 11.39 kB / 1.18 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003174/1.029, allocations: 4.062 MB / 1.184 GB, free: 9.227 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/1.029, allocations: 0 / 1.184 GB, free: 9.227 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001165/1.031, allocations: 0.7868 MB / 1.185 GB, free: 8.488 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003112/1.031, allocations: 170.2 kB / 1.185 GB, free: 8.316 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.166e-05/1.031, allocations: 7.562 kB / 1.185 GB, free: 8.312 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002647/1.031, allocations: 19.34 kB / 1.185 GB, free: 8.297 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.283e-05/1.031, allocations: 42.89 kB / 1.185 GB, free: 8.262 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.048e-05/1.031, allocations: 8 kB / 1.185 GB, free: 8.254 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0003889/1.032, allocations: 336.7 kB / 1.185 GB, free: 7.996 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/1.032, allocations: 3.938 kB / 1.185 GB, free: 7.992 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0006963/1.032, allocations: 150.8 kB / 1.185 GB, free: 7.859 MB / 0.7136 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 () * Number of clocked 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.001574/1.034, allocations: 1.818 MB / 1.187 GB, free: 6.102 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001517/1.036, allocations: 1.024 MB / 1.188 GB, free: 5.141 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.453e-06/1.036, allocations: 0 / 1.188 GB, free: 5.141 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0008332/1.036, allocations: 0.734 MB / 1.189 GB, free: 4.391 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008509/1.037, allocations: 180.1 kB / 1.189 GB, free: 4.246 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006799/1.044, allocations: 8.262 MB / 1.197 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005231/1.045, allocations: 0.9245 MB / 1.198 GB, free: 11.35 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0004233/1.045, allocations: 117.1 kB / 1.198 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002327/1.045, allocations: 197 kB / 1.198 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of SimCode: time 1.363e-06/1.045, allocations: 3.938 kB / 1.198 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02952/1.075, allocations: 12.22 MB / 1.21 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001926/1.075, allocations: 230.5 kB / 1.21 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.463/3.538, allocations: 0 / 1.21 GB, free: 14.99 MB / 0.7448 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)