Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_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.557/1.557, allocations: 288.4 MB / 303.6 MB, free: 8.039 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.0009223/0.0009224, allocations: 191.8 kB / 372.3 MB, free: 10.12 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.352/1.352, allocations: 205.4 MB / 0.631 GB, free: 9.898 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.0007499/0.00075, allocations: 94.84 kB / 0.7444 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004162/0.0004163, allocations: 15.44 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2495/0.2499, allocations: 115.3 MB / 0.9802 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01208/0.2621, allocations: 14.52 MB / 0.9944 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.006241/0.2684, allocations: 4.616 MB / 0.9989 GB, free: 8.031 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007386/0.2691, allocations: 55.69 kB / 0.9989 GB, free: 7.977 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005602/0.2697, allocations: 250 kB / 0.9992 GB, free: 7.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001378/0.2711, allocations: 0.6338 MB / 0.9998 GB, free: 7.094 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001372/0.2725, allocations: 0.5388 MB / 1 GB, free: 6.555 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.003066/0.2756, allocations: 4.132 MB / 1.004 GB, free: 2.41 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006837/0.2824, allocations: 5.764 MB / 1.01 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002339/0.2848, allocations: 1.125 MB / 1.011 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002551/0.2873, allocations: 1.468 MB / 1.013 GB, free: 9.965 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002876/0.2876, allocations: 140 kB / 1.013 GB, free: 9.828 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001612/0.2893, allocations: 0.7096 MB / 1.013 GB, free: 9.117 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001218/0.2905, allocations: 1.06 MB / 1.014 GB, free: 8.055 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.00152/0.292, allocations: 1.141 MB / 1.015 GB, free: 6.902 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.004743/0.2968, allocations: 4.278 MB / 1.02 GB, free: 2.613 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 9.298e-06/0.2968, allocations: 0 / 1.02 GB, free: 2.613 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.254e-06/0.2968, allocations: 0 / 1.02 GB, free: 2.613 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001498/0.297, allocations: 4 kB / 1.02 GB, free: 2.609 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.005412/0.3024, allocations: 2.178 MB / 1.022 GB, free: 380 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.574e-05/0.3025, allocations: 12.03 kB / 1.022 GB, free: 368 kB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005955/0.3031, allocations: 370.6 kB / 1.022 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003757/0.3068, allocations: 0.8368 MB / 1.023 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002629/0.3095, allocations: 1.501 MB / 1.024 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001308/0.3096, allocations: 181.1 kB / 1.025 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003561/0.31, allocations: 232.3 kB / 1.025 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00686/0.3168, allocations: 4.146 MB / 1.029 GB, free: 8.91 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.545e-05/0.3169, allocations: 7.938 kB / 1.029 GB, free: 8.902 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002588/0.3172, allocations: 104 kB / 1.029 GB, free: 8.801 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001919/0.3174, allocations: 164.5 kB / 1.029 GB, free: 8.637 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005671/0.3231, allocations: 3.628 MB / 1.033 GB, free: 4.992 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01864/0.3417, allocations: 16.55 MB / 1.049 GB, free: 3.016 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00332/0.3451, allocations: 2.305 MB / 1.051 GB, free: 0.5039 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008441/0.346, allocations: 0.5819 MB / 1.052 GB, free: 15.91 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001422/0.3461, allocations: 89.66 kB / 1.052 GB, free: 15.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/0.3462, allocations: 43.12 kB / 1.052 GB, free: 15.75 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=72): time 3.787e-06/0.3462, allocations: 0 / 1.052 GB, free: 15.75 MB / 0.6823 GB Notification: Performance of matching and sorting (n=76): time 0.006494/0.3527, allocations: 3.448 MB / 1.055 GB, free: 12.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.741e-05/0.3528, allocations: 111.5 kB / 1.055 GB, free: 12.07 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001656/0.3545, allocations: 1.01 MB / 1.056 GB, free: 11.03 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.669e-05/0.3545, allocations: 37.7 kB / 1.056 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009323/0.3555, allocations: 1.099 MB / 1.057 GB, free: 9.875 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002588/0.3557, allocations: 280.1 kB / 1.058 GB, free: 9.598 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.74e-05/0.3558, allocations: 28 kB / 1.058 GB, free: 9.57 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002318/0.3561, allocations: 418.6 kB / 1.058 GB, free: 9.152 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009935/0.3571, allocations: 0.6167 MB / 1.059 GB, free: 8.535 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00136/0.3584, allocations: 1.185 MB / 1.06 GB, free: 7.086 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002355/0.3608, allocations: 1.868 MB / 1.062 GB, free: 4.953 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.505e-05/0.3608, allocations: 8 kB / 1.062 GB, free: 4.945 MB / 0.6823 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.00342/0.3643, allocations: 2.019 MB / 1.064 GB, free: 2.906 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.938e-05/0.3643, allocations: 12 kB / 1.064 GB, free: 2.895 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.895e-05/0.3643, allocations: 20 kB / 1.064 GB, free: 2.875 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004844/0.3648, allocations: 159.3 kB / 1.064 GB, free: 2.707 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001156/0.366, allocations: 347.4 kB / 1.064 GB, free: 2.367 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-05/0.3661, allocations: 44.02 kB / 1.064 GB, free: 2.324 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001119/0.3672, allocations: 131.7 kB / 1.064 GB, free: 2.195 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001299/0.3674, allocations: 68 kB / 1.064 GB, free: 2.129 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001757/0.3691, allocations: 0.9825 MB / 1.065 GB, free: 1.137 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002519/0.3694, allocations: 114.6 kB / 1.065 GB, free: 1.023 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4693/0.8387, allocations: 1.233 MB / 1.067 GB, free: 84.15 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.058e-05/0.8388, allocations: 8.719 kB / 1.067 GB, free: 84.15 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.167e-05/0.8388, allocations: 2.484 kB / 1.067 GB, free: 84.15 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.921e-05/0.8388, allocations: 4.719 kB / 1.067 GB, free: 84.15 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006168/0.845, allocations: 3.807 MB / 1.07 GB, free: 82.92 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.358e-06/0.845, allocations: 3.172 kB / 1.07 GB, free: 82.92 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006276/0.8457, allocations: 166.7 kB / 1.071 GB, free: 82.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003583/0.846, allocations: 142.8 kB / 1.071 GB, free: 82.84 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.709e-05/0.8461, allocations: 20.12 kB / 1.071 GB, free: 82.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.067e-06/0.8461, allocations: 5.859 kB / 1.071 GB, free: 82.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.8461, allocations: 2.469 kB / 1.071 GB, free: 82.82 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002135/0.8483, allocations: 1.473 MB / 1.072 GB, free: 82.11 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004956/0.8488, allocations: 292.3 kB / 1.072 GB, free: 81.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001187/0.8489, allocations: 15.06 kB / 1.072 GB, free: 81.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006116/0.8495, allocations: 78.42 kB / 1.073 GB, free: 81.95 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001625/0.8497, allocations: 66.92 kB / 1.073 GB, free: 81.93 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.598e-05/0.8498, allocations: 21.09 kB / 1.073 GB, free: 81.93 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00121/0.851, allocations: 0.6881 MB / 1.073 GB, free: 81.64 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.2e-07/0.851, allocations: 0.75 kB / 1.073 GB, free: 81.64 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001671/0.8527, allocations: 387.9 kB / 1.074 GB, free: 81.61 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002633/0.8553, allocations: 2.042 MB / 1.076 GB, free: 80.33 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003079/0.8584, allocations: 1.715 MB / 1.077 GB, free: 79.48 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.8584, allocations: 1.438 kB / 1.077 GB, free: 79.48 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001192/0.8596, allocations: 0.8657 MB / 1.078 GB, free: 78.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0017/0.8613, allocations: 242.2 kB / 1.078 GB, free: 78.83 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01567/0.877, allocations: 9.729 MB / 1.088 GB, free: 73.57 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001924/0.879, allocations: 1.916 MB / 1.09 GB, free: 72.59 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001441/0.8804, allocations: 457 kB / 1.09 GB, free: 72.55 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008031/0.8812, allocations: 0.7124 MB / 1.091 GB, free: 71.96 MB / 0.6823 GB Notification: Performance of SimCode: time 1.794e-06/0.8813, allocations: 0 / 1.091 GB, free: 71.96 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9028/1.784, allocations: 27.11 MB / 1.117 GB, free: 61.77 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002446/1.784, allocations: 233.1 kB / 1.118 GB, free: 61.54 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.689/4.473, allocations: 0 / 1.118 GB, free: 61.54 MB / 0.6823 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1)