Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.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.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.435/2.435, allocations: 284.9 MB / 292.4 MB, free: 10.59 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.002307/0.002307, allocations: 176.9 kB / 360.6 MB, free: 7.316 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.102/2.102, allocations: 205.2 MB / 0.6191 GB, free: 12.18 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.001141/0.00114, allocations: 94.17 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.768e-05/2.769e-05, allocations: 4 kB / 0.8509 GB, free: 3.32 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8011/0.8012, allocations: 115.3 MB / 0.9634 GB, free: 78.78 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3448/1.146, allocations: 166.7 MB / 1.126 GB, free: 5.672 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004026/1.147, allocations: 96.5 kB / 1.126 GB, free: 5.578 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.3465/1.493, allocations: 85.6 MB / 1.21 GB, free: 15.38 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.056e-06/1.493, allocations: 3.938 kB / 1.21 GB, free: 15.37 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.000185/1.493, allocations: 55.98 kB / 1.21 GB, free: 15.32 MB / 0.823 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.008444/1.502, allocations: 2.111 MB / 1.212 GB, free: 13.16 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.956e-05/1.502, allocations: 12.03 kB / 1.212 GB, free: 13.14 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007234/1.509, allocations: 0.754 MB / 1.213 GB, free: 12.39 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005473/1.515, allocations: 1.536 MB / 1.214 GB, free: 10.8 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001439/1.515, allocations: 76 kB / 1.214 GB, free: 10.73 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009501/1.516, allocations: 136 kB / 1.214 GB, free: 10.59 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008505/1.524, allocations: 2.688 MB / 1.217 GB, free: 7.898 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0112/1.536, allocations: 3.468 MB / 1.221 GB, free: 4.258 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.984e-05/1.536, allocations: 7.938 kB / 1.221 GB, free: 4.25 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003916/1.536, allocations: 4 kB / 1.221 GB, free: 4.246 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003061/1.536, allocations: 156.6 kB / 1.221 GB, free: 4.09 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02942/1.566, allocations: 15.82 MB / 1.236 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005572/1.572, allocations: 2.09 MB / 1.238 GB, free: 0.6055 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001423/1.573, allocations: 0.5625 MB / 1.239 GB, free: 36 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002451/1.573, allocations: 97.64 kB / 1.239 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.499e-05/1.573, allocations: 47.12 kB / 1.239 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=72): time 3.687e-06/1.573, allocations: 0 / 1.239 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of matching and sorting (n=76): time 0.007535/1.581, allocations: 2.593 MB / 1.241 GB, free: 13.24 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.914e-05/1.581, allocations: 111.6 kB / 1.241 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001731/1.583, allocations: 0.8285 MB / 1.242 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001407/1.583, allocations: 29.77 kB / 1.242 GB, free: 12.24 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001027/1.584, allocations: 1.091 MB / 1.243 GB, free: 11.13 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004218/1.584, allocations: 268.1 kB / 1.244 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/1.585, allocations: 0 / 1.244 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002894/1.585, allocations: 410.7 kB / 1.244 GB, free: 10.45 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001372/1.586, allocations: 0.5583 MB / 1.245 GB, free: 9.895 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001795/1.588, allocations: 1.092 MB / 1.246 GB, free: 8.555 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0028/1.591, allocations: 0.9332 MB / 1.247 GB, free: 7.621 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-05/1.591, allocations: 15.89 kB / 1.247 GB, free: 7.605 MB / 0.8542 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.005859/1.597, allocations: 1.904 MB / 1.248 GB, free: 5.68 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.093e-05/1.597, allocations: 12 kB / 1.248 GB, free: 5.668 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-05/1.597, allocations: 24.67 kB / 1.248 GB, free: 5.645 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000671/1.598, allocations: 171.3 kB / 1.249 GB, free: 5.465 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002385/1.6, allocations: 339.4 kB / 1.249 GB, free: 5.133 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.976e-05/1.6, allocations: 35.86 kB / 1.249 GB, free: 5.098 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001899/1.602, allocations: 115.6 kB / 1.249 GB, free: 4.984 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002449/1.602, allocations: 64 kB / 1.249 GB, free: 4.922 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 161 * 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.0003437/1.603, allocations: 156.2 kB / 1.249 GB, free: 4.762 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003368/1.606, allocations: 1.127 MB / 1.25 GB, free: 3.617 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003502/1.606, allocations: 102.8 kB / 1.251 GB, free: 3.516 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003593/1.61, allocations: 1.189 MB / 1.252 GB, free: 2.305 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.726e-05/1.61, allocations: 8 kB / 1.252 GB, free: 2.297 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.384e-05/1.61, allocations: 4 kB / 1.252 GB, free: 2.293 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.536e-05/1.61, allocations: 7.922 kB / 1.252 GB, free: 2.285 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6478/2.258, allocations: 3.187 MB / 1.255 GB, free: 205.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-05/2.258, allocations: 3.359 kB / 1.255 GB, free: 205.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00237/2.26, allocations: 160.7 kB / 1.255 GB, free: 205.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006633/2.261, allocations: 140.5 kB / 1.255 GB, free: 205.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001423/2.261, allocations: 5.641 kB / 1.255 GB, free: 205.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.624e-05/2.261, allocations: 9.328 kB / 1.255 GB, free: 205.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.458e-06/2.261, allocations: 6.047 kB / 1.255 GB, free: 205.8 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0036/2.265, allocations: 1.547 MB / 1.257 GB, free: 205.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000971/2.266, allocations: 290 kB / 1.257 GB, free: 205.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000246/2.266, allocations: 7.062 kB / 1.257 GB, free: 205.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001213/2.267, allocations: 62.77 kB / 1.257 GB, free: 205.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000231/2.268, allocations: 60.45 kB / 1.257 GB, free: 205.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.675e-05/2.268, allocations: 21.84 kB / 1.257 GB, free: 205.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001486/2.269, allocations: 0.6227 MB / 1.258 GB, free: 205 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.82e-07/2.269, allocations: 0 / 1.258 GB, free: 205 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002644/2.272, allocations: 371.4 kB / 1.258 GB, free: 205 MB / 0.8542 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 () * 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.004202/2.276, allocations: 2.802 MB / 1.261 GB, free: 203.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.003156/2.279, allocations: 1.578 MB / 1.262 GB, free: 202.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.075e-05/2.28, allocations: 1.875 kB / 1.262 GB, free: 202.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.00141/2.281, allocations: 0.8221 MB / 1.263 GB, free: 202.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002164/2.283, allocations: 209.4 kB / 1.263 GB, free: 202.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0117/2.295, allocations: 3.589 MB / 1.267 GB, free: 201.7 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003618/2.299, allocations: 1.959 MB / 1.269 GB, free: 201 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.002173/2.301, allocations: 432.3 kB / 1.269 GB, free: 201 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001707/2.303, allocations: 0.7202 MB / 1.27 GB, free: 201 MB / 0.8542 GB Notification: Performance of SimCode: time 1.323e-06/2.303, allocations: 0 / 1.27 GB, free: 201 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1144/2.417, allocations: 26.21 MB / 1.295 GB, free: 200.1 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002104/2.417, allocations: 166.2 kB / 1.296 GB, free: 199.9 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.967/5.384, allocations: 0 / 1.296 GB, free: 199.9 MB / 0.8542 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1)