Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.748/1.748, allocations: 292.6 MB / 307.5 MB, free: 5.211 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.001396/0.001396, allocations: 181 kB / 377.1 MB, free: 1.527 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.827/1.827, allocations: 205.4 MB / 0.6366 GB, free: 8.645 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.001131/0.001131, allocations: 94.11 kB / 0.7509 GB, free: 62.83 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000373/0.0003729, allocations: 11.98 kB / 0.8749 GB, free: 11.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3074/0.3078, allocations: 116.3 MB / 0.9884 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8285/1.136, allocations: 197.4 MB / 1.181 GB, free: 1.023 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003703/1.137, allocations: 102.2 kB / 1.181 GB, free: 0.9258 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.2965/1.433, allocations: 113.7 MB / 1.292 GB, free: 14.01 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.584e-06/1.433, allocations: 0 / 1.292 GB, free: 14.01 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0003345/1.434, allocations: 71.98 kB / 1.292 GB, free: 13.94 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.01182/1.446, allocations: 2.893 MB / 1.295 GB, free: 10.98 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.827e-05/1.446, allocations: 12.03 kB / 1.295 GB, free: 10.97 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002549/1.448, allocations: 458.4 kB / 1.296 GB, free: 10.51 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005554/1.454, allocations: 0.6694 MB / 1.296 GB, free: 9.836 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007875/1.462, allocations: 2.071 MB / 1.298 GB, free: 7.703 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003539/1.462, allocations: 225.4 kB / 1.299 GB, free: 7.484 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001682/1.464, allocations: 292 kB / 1.299 GB, free: 7.199 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01423/1.478, allocations: 4.614 MB / 1.303 GB, free: 2.332 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001855/1.478, allocations: 11.84 kB / 1.303 GB, free: 2.32 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001216/1.48, allocations: 136 kB / 1.303 GB, free: 2.188 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002563/1.48, allocations: 173.7 kB / 1.304 GB, free: 2.016 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009528/1.489, allocations: 3.407 MB / 1.307 GB, free: 14.6 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0368/1.526, allocations: 21.59 MB / 1.328 GB, free: 7.012 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002281/1.529, allocations: 1.278 MB / 1.329 GB, free: 5.719 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001077/1.529, allocations: 13 kB / 1.329 GB, free: 5.707 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.103e-05/1.529, allocations: 43.56 kB / 1.329 GB, free: 5.656 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=107): time 8.285e-06/1.529, allocations: 3.984 kB / 1.329 GB, free: 5.652 MB / 0.9011 GB Notification: Performance of matching and sorting (n=138): time 0.02668/1.555, allocations: 8.582 MB / 1.338 GB, free: 13.01 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.659e-05/1.556, allocations: 68.72 kB / 1.338 GB, free: 12.93 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0023/1.558, allocations: 0.9674 MB / 1.339 GB, free: 11.96 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001353/1.558, allocations: 45.7 kB / 1.339 GB, free: 11.91 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001262/1.559, allocations: 1.304 MB / 1.34 GB, free: 10.59 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005998/1.56, allocations: 485 kB / 1.341 GB, free: 10.11 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001231/1.56, allocations: 28 kB / 1.341 GB, free: 10.08 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002782/1.56, allocations: 381.8 kB / 1.341 GB, free: 9.699 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001505/1.562, allocations: 0.8706 MB / 1.342 GB, free: 8.828 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001856/1.564, allocations: 1.339 MB / 1.343 GB, free: 7.293 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001859/1.566, allocations: 1.107 MB / 1.344 GB, free: 6.184 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.527e-05/1.566, allocations: 4 kB / 1.344 GB, free: 6.18 MB / 0.9167 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.007084/1.573, allocations: 3.41 MB / 1.347 GB, free: 2.75 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 5.106e-05/1.573, allocations: 12 kB / 1.347 GB, free: 2.738 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.826e-05/1.573, allocations: 16 kB / 1.348 GB, free: 2.723 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003642/1.577, allocations: 1.138 MB / 1.349 GB, free: 1.578 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/1.578, allocations: 267.5 kB / 1.349 GB, free: 1.316 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0192/1.597, allocations: 12.96 MB / 1.362 GB, free: 3.961 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001861/1.599, allocations: 87.98 kB / 1.362 GB, free: 3.875 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003795/1.599, allocations: 79.92 kB / 1.362 GB, free: 3.797 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (134): * Single equations (assignments): 131 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,84.0%) 17,(5,88.0%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002966/1.602, allocations: 1.118 MB / 1.363 GB, free: 2.668 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005527/1.603, allocations: 158.1 kB / 1.363 GB, free: 2.512 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.6363/2.239, allocations: 3.114 MB / 1.366 GB, free: 202.8 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.023e-05/2.239, allocations: 18 kB / 1.366 GB, free: 202.8 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.6e-05/2.239, allocations: 11.38 kB / 1.366 GB, free: 202.8 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.731e-05/2.239, allocations: 5.734 kB / 1.366 GB, free: 202.8 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01199/2.251, allocations: 6.116 MB / 1.372 GB, free: 202.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-05/2.251, allocations: 8.703 kB / 1.372 GB, free: 202.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006216/2.252, allocations: 145.1 kB / 1.372 GB, free: 202.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00266/2.255, allocations: 1.028 MB / 1.373 GB, free: 202.2 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001186/2.255, allocations: 29.95 kB / 1.373 GB, free: 202.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0184/2.273, allocations: 12.65 MB / 1.386 GB, free: 198.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.774e-06/2.273, allocations: 7.938 kB / 1.386 GB, free: 198.4 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00708/2.28, allocations: 3.338 MB / 1.389 GB, free: 197.7 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001332/2.282, allocations: 413.3 kB / 1.389 GB, free: 197.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002141/2.282, allocations: 31.8 kB / 1.389 GB, free: 197.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008168/2.283, allocations: 78.11 kB / 1.389 GB, free: 197.6 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005396/2.283, allocations: 120.9 kB / 1.389 GB, free: 197.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.284e-05/2.284, allocations: 40.33 kB / 1.389 GB, free: 197.6 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001237/2.285, allocations: 0.7417 MB / 1.39 GB, free: 197.5 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.3e-07/2.285, allocations: 2.25 kB / 1.39 GB, free: 197.5 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.00287/2.288, allocations: 0.6717 MB / 1.391 GB, free: 197.5 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (70): * Single equations (assignments): 67 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,88.0%) 25,(5,84.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006348/2.294, allocations: 5.129 MB / 1.396 GB, free: 195.1 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.005173/2.299, allocations: 3.068 MB / 1.399 GB, free: 194.7 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 8.276e-06/2.299, allocations: 0 / 1.399 GB, free: 194.7 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.003412/2.303, allocations: 1.936 MB / 1.401 GB, free: 194.2 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002366/2.305, allocations: 424.8 kB / 1.401 GB, free: 194.2 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0256/2.331, allocations: 24.56 MB / 1.425 GB, free: 179.8 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00245/2.333, allocations: 2.396 MB / 1.427 GB, free: 179 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001299/2.335, allocations: 347 kB / 1.428 GB, free: 179 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00105/2.336, allocations: 0.9935 MB / 1.429 GB, free: 179 MB / 0.9323 GB Notification: Performance of SimCode: time 1.893e-06/2.336, allocations: 0 / 1.429 GB, free: 179 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09794/2.434, allocations: 48.37 MB / 1.476 GB, free: 177.2 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001984/2.434, allocations: 227.4 kB / 1.476 GB, free: 176.9 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.479/5.913, allocations: 0 / 1.476 GB, free: 176.9 MB / 0.9323 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)