Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_8_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_8_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.1.4-maint.8.1.x/package.mo): time 1.761/1.761, allocations: 292.6 MB / 307.5 MB, free: 5.223 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.001311/0.001311, allocations: 195.8 kB / 377.1 MB, free: 1.512 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.861/1.861, allocations: 205.4 MB / 0.6366 GB, free: 8.52 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.000849/0.0008491, allocations: 88.16 kB / 0.7509 GB, free: 63.41 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004613/0.0004612, allocations: 8 kB / 0.8749 GB, free: 11.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2701/0.2706, allocations: 116.3 MB / 0.9884 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7833/1.054, allocations: 188.9 MB / 1.173 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003365/1.054, allocations: 99.94 kB / 1.173 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.07739/1.132, allocations: 31.97 MB / 1.204 GB, free: 9.266 MB / 0.7761 GB Notification: Performance of FrontEnd: time 3.086e-06/1.132, allocations: 0 / 1.204 GB, free: 9.266 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.435e-05/1.132, allocations: 27.92 kB / 1.204 GB, free: 9.238 MB / 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.001579/1.133, allocations: 0.8738 MB / 1.205 GB, free: 8.316 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.711e-05/1.134, allocations: 12.02 kB / 1.205 GB, free: 8.305 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001374/1.134, allocations: 108.4 kB / 1.205 GB, free: 8.191 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001431/1.135, allocations: 201 kB / 1.205 GB, free: 7.996 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001058/1.136, allocations: 0.4973 MB / 1.206 GB, free: 7.457 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.498e-05/1.136, allocations: 40.44 kB / 1.206 GB, free: 7.422 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001571/1.136, allocations: 55.98 kB / 1.206 GB, free: 7.367 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001219/1.138, allocations: 0.8681 MB / 1.207 GB, free: 6.387 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.746e-05/1.138, allocations: 11.92 kB / 1.207 GB, free: 6.375 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.412e-05/1.138, allocations: 23.98 kB / 1.207 GB, free: 6.352 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.925e-05/1.138, allocations: 44.98 kB / 1.207 GB, free: 6.309 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009065/1.139, allocations: 0.5696 MB / 1.208 GB, free: 5.738 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00446/1.143, allocations: 4.6 MB / 1.212 GB, free: 0.7969 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004415/1.144, allocations: 290.4 kB / 1.212 GB, free: 0.5039 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.556e-05/1.144, allocations: 8 kB / 1.212 GB, free: 0.4961 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/1.144, allocations: 42.5 kB / 1.212 GB, free: 456 kB / 0.7761 GB Notification: Performance of pre-optimization done (n=33): time 1.884e-06/1.144, allocations: 0 / 1.212 GB, free: 456 kB / 0.7761 GB Notification: Performance of matching and sorting (n=40): time 0.005609/1.149, allocations: 2.633 MB / 1.215 GB, free: 13.69 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/1.149, allocations: 59.39 kB / 1.215 GB, free: 13.62 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004418/1.15, allocations: 397.2 kB / 1.215 GB, free: 13.22 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 3.836e-05/1.15, allocations: 37.7 kB / 1.215 GB, free: 13.18 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002146/1.15, allocations: 339.8 kB / 1.216 GB, free: 12.84 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/1.15, allocations: 141.9 kB / 1.216 GB, free: 12.7 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.654e-05/1.15, allocations: 12 kB / 1.216 GB, free: 12.68 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.000134/1.15, allocations: 362.7 kB / 1.216 GB, free: 12.32 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003368/1.151, allocations: 237 kB / 1.216 GB, free: 12.09 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004458/1.151, allocations: 384.4 kB / 1.217 GB, free: 11.65 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004073/1.152, allocations: 289.5 kB / 1.217 GB, free: 11.37 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/1.152, allocations: 3.938 kB / 1.217 GB, free: 11.36 MB / 0.7917 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001596/1.153, allocations: 0.8982 MB / 1.218 GB, free: 10.45 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/1.153, allocations: 8.094 kB / 1.218 GB, free: 10.44 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/1.153, allocations: 11.98 kB / 1.218 GB, free: 10.43 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00079/1.154, allocations: 220.2 kB / 1.218 GB, free: 10.21 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005057/1.155, allocations: 115.8 kB / 1.218 GB, free: 10.09 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004892/1.16, allocations: 5.002 MB / 1.223 GB, free: 4.699 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005756/1.16, allocations: 27.97 kB / 1.223 GB, free: 4.672 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.266e-05/1.16, allocations: 20 kB / 1.223 GB, free: 4.652 MB / 0.7917 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 () * Number of clocked 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.0004327/1.161, allocations: 236.2 kB / 1.223 GB, free: 4.414 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/1.161, allocations: 55.34 kB / 1.223 GB, free: 4.359 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001546/1.162, allocations: 0.7753 MB / 1.224 GB, free: 3.57 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/1.162, allocations: 4 kB / 1.224 GB, free: 3.566 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/1.162, allocations: 0 / 1.224 GB, free: 3.566 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/1.162, allocations: 7.984 kB / 1.224 GB, free: 3.559 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002475/1.165, allocations: 1.475 MB / 1.226 GB, free: 1.996 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/1.165, allocations: 4 kB / 1.226 GB, free: 1.992 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003998/1.165, allocations: 72.11 kB / 1.226 GB, free: 1.922 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006902/1.166, allocations: 210.5 kB / 1.226 GB, free: 1.707 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.116e-05/1.166, allocations: 8 kB / 1.226 GB, free: 1.699 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004719/1.171, allocations: 4.952 MB / 1.231 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.16e-05/1.171, allocations: 3.938 kB / 1.231 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001936/1.173, allocations: 1.21 MB / 1.232 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003058/1.173, allocations: 168.4 kB / 1.232 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.596e-05/1.173, allocations: 15.98 kB / 1.232 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003386/1.173, allocations: 23.97 kB / 1.232 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.839e-05/1.174, allocations: 35.95 kB / 1.232 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-05/1.174, allocations: 19.95 kB / 1.232 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0003714/1.174, allocations: 310.9 kB / 1.233 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.5e-07/1.174, allocations: 0 / 1.233 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0007141/1.175, allocations: 179.9 kB / 1.233 GB, free: 10.29 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 () * Number of clocked 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.002297/1.177, allocations: 2.257 MB / 1.235 GB, free: 7.945 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001668/1.179, allocations: 0.9925 MB / 1.236 GB, free: 6.918 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/1.179, allocations: 0 / 1.236 GB, free: 6.918 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0009621/1.18, allocations: 0.6799 MB / 1.237 GB, free: 6.199 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007585/1.18, allocations: 157.1 kB / 1.237 GB, free: 6.051 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007273/1.188, allocations: 6.847 MB / 1.243 GB, free: 15.04 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006452/1.188, allocations: 0.9688 MB / 1.244 GB, free: 14.04 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0004318/1.189, allocations: 111.8 kB / 1.244 GB, free: 13.93 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002662/1.189, allocations: 207.4 kB / 1.245 GB, free: 13.73 MB / 0.823 GB Notification: Performance of SimCode: time 1.473e-06/1.189, allocations: 0 / 1.245 GB, free: 13.73 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02979/1.219, allocations: 13.31 MB / 1.258 GB, free: 0.707 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001835/1.219, allocations: 221.4 kB / 1.258 GB, free: 476 kB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.424/3.643, allocations: 0 / 1.258 GB, free: 476 kB / 0.823 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)