Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",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.816/1.816, 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.001016/0.001015, allocations: 176.9 kB / 361.4 MB, free: 6.824 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.678/1.678, allocations: 205.2 MB / 0.62 GB, free: 11.66 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.001148/0.001148, allocations: 96.23 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.432e-05/2.449e-05, allocations: 4 kB / 0.8518 GB, free: 2.637 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7092/0.7092, allocations: 115.3 MB / 0.9645 GB, free: 78.86 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2781/0.9875, allocations: 187.2 MB / 1.147 GB, free: 424 kB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003288/0.9879, allocations: 95.94 kB / 1.147 GB, free: 328 kB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.07917/1.067, allocations: 31.65 MB / 1.178 GB, free: 0.5195 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.214e-06/1.067, allocations: 4 kB / 1.178 GB, free: 0.5156 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.708e-05/1.067, allocations: 27.92 kB / 1.178 GB, free: 500 kB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.002069/1.069, allocations: 0.7984 MB / 1.179 GB, free: 15.64 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.49e-05/1.069, allocations: 8.031 kB / 1.179 GB, free: 15.64 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001662/1.071, allocations: 207.9 kB / 1.179 GB, free: 15.43 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001152/1.072, allocations: 0.492 MB / 1.18 GB, free: 14.9 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.885e-05/1.072, allocations: 16 kB / 1.18 GB, free: 14.88 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001983/1.072, allocations: 32 kB / 1.18 GB, free: 14.85 MB / 0.7917 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009026/1.073, allocations: 458.5 kB / 1.18 GB, free: 14.4 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001175/1.075, allocations: 0.7889 MB / 1.181 GB, free: 13.5 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.28e-05/1.075, allocations: 7.938 kB / 1.181 GB, free: 13.5 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.25e-05/1.075, allocations: 6.625 kB / 1.181 GB, free: 13.49 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.501e-05/1.075, allocations: 49.22 kB / 1.181 GB, free: 13.45 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004899/1.08, allocations: 4.483 MB / 1.185 GB, free: 8.625 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004734/1.08, allocations: 286.4 kB / 1.186 GB, free: 8.336 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003281/1.08, allocations: 208.8 kB / 1.186 GB, free: 8.129 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 3.181e-05/1.08, allocations: 8 kB / 1.186 GB, free: 8.121 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.319e-05/1.081, allocations: 38.56 kB / 1.186 GB, free: 8.074 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=33): time 2.114e-06/1.081, allocations: 0 / 1.186 GB, free: 8.074 MB / 0.7917 GB Notification: Performance of matching and sorting (n=40): time 0.004085/1.085, allocations: 1.986 MB / 1.188 GB, free: 6 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.477e-05/1.085, allocations: 55.41 kB / 1.188 GB, free: 5.934 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004443/1.085, allocations: 337.1 kB / 1.188 GB, free: 5.602 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 3.948e-05/1.085, allocations: 25.7 kB / 1.188 GB, free: 5.57 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002384/1.085, allocations: 335.6 kB / 1.189 GB, free: 5.234 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001389/1.086, allocations: 141.9 kB / 1.189 GB, free: 5.094 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-05/1.086, allocations: 0 / 1.189 GB, free: 5.094 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001729/1.086, allocations: 358.8 kB / 1.189 GB, free: 4.734 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003342/1.086, allocations: 221 kB / 1.189 GB, free: 4.52 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004639/1.087, allocations: 363.4 kB / 1.19 GB, free: 4.098 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004243/1.087, allocations: 273.4 kB / 1.19 GB, free: 3.832 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/1.087, allocations: 3.953 kB / 1.19 GB, free: 3.828 MB / 0.7917 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001634/1.089, allocations: 0.8201 MB / 1.191 GB, free: 2.992 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 3.042e-05/1.089, allocations: 12.73 kB / 1.191 GB, free: 2.98 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/1.089, allocations: 4 kB / 1.191 GB, free: 2.977 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000801/1.09, allocations: 215.8 kB / 1.191 GB, free: 2.758 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005546/1.09, allocations: 111.8 kB / 1.191 GB, free: 2.648 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005184/1.095, allocations: 4.735 MB / 1.196 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004739/1.096, allocations: 20.81 kB / 1.196 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.496e-05/1.096, allocations: 23.94 kB / 1.196 GB, free: 13.53 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 52 * 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 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001729/1.096, allocations: 124.6 kB / 1.196 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001434/1.098, allocations: 0.679 MB / 1.197 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001161/1.098, allocations: 51.44 kB / 1.197 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001512/1.099, allocations: 0.7268 MB / 1.197 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.707e-05/1.099, allocations: 7.984 kB / 1.197 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/1.099, allocations: 0 / 1.197 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/1.099, allocations: 0 / 1.197 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002569/1.102, allocations: 1.36 MB / 1.199 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/1.102, allocations: 0 / 1.199 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004144/1.102, allocations: 72.03 kB / 1.199 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006716/1.103, allocations: 202.6 kB / 1.199 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.387e-05/1.103, allocations: 4 kB / 1.199 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004579/1.108, allocations: 4.668 MB / 1.203 GB, free: 5.184 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/1.108, allocations: 0 / 1.203 GB, free: 5.184 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00184/1.109, allocations: 1.162 MB / 1.205 GB, free: 3.93 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002686/1.11, allocations: 164.5 kB / 1.205 GB, free: 3.75 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/1.11, allocations: 7.984 kB / 1.205 GB, free: 3.742 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003391/1.11, allocations: 19.97 kB / 1.205 GB, free: 3.723 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.594e-05/1.11, allocations: 47.84 kB / 1.205 GB, free: 3.676 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.778e-05/1.11, allocations: 13.5 kB / 1.205 GB, free: 3.664 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0002874/1.111, allocations: 255 kB / 1.205 GB, free: 3.418 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.9e-07/1.111, allocations: 0 / 1.205 GB, free: 3.418 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0007605/1.111, allocations: 155.9 kB / 1.205 GB, free: 3.266 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * 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 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002386/1.114, allocations: 2.194 MB / 1.207 GB, free: 0.9844 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001566/1.115, allocations: 0.9236 MB / 1.208 GB, free: 32 kB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/1.115, allocations: 0 / 1.208 GB, free: 32 kB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.001024/1.116, allocations: 0.6459 MB / 1.209 GB, free: 15.35 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008114/1.117, allocations: 143.7 kB / 1.209 GB, free: 15.21 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002736/1.12, allocations: 1.073 MB / 1.21 GB, free: 14.09 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008657/1.121, allocations: 0.9609 MB / 1.211 GB, free: 13.1 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0004683/1.121, allocations: 113.9 kB / 1.211 GB, free: 12.99 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003566/1.122, allocations: 211.4 kB / 1.211 GB, free: 12.79 MB / 0.823 GB Notification: Performance of SimCode: time 1.082e-06/1.122, allocations: 0 / 1.211 GB, free: 12.79 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03829/1.16, allocations: 11.97 MB / 1.223 GB, free: 1.043 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002393/1.16, allocations: 173.8 kB / 1.223 GB, free: 0.8477 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.248/3.408, allocations: 2.344 kB / 1.223 GB, free: 0.8477 MB / 0.823 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)