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.713/1.713, allocations: 289.9 MB / 297.4 MB, free: 6.387 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.001296/0.001297, allocations: 176.9 kB / 366.7 MB, free: 1.645 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.706/1.706, allocations: 205.2 MB / 0.626 GB, free: 7.152 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.0008607/0.0008607, allocations: 95.09 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.628e-05/2.624e-05, allocations: 4 kB / 0.8598 GB, free: 12.94 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7414/0.7414, allocations: 116.3 MB / 0.9733 GB, free: 76.26 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2437/0.9851, allocations: 188.2 MB / 1.157 GB, free: 9.863 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003117/0.9855, allocations: 91.94 kB / 1.157 GB, free: 9.773 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.0757/1.061, allocations: 31.66 MB / 1.188 GB, free: 9.941 MB / 0.7917 GB Notification: Performance of FrontEnd: time 4.488e-06/1.061, allocations: 4 kB / 1.188 GB, free: 9.938 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 5.069e-05/1.061, allocations: 19.94 kB / 1.188 GB, free: 9.918 MB / 0.7917 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.001478/1.063, allocations: 0.8082 MB / 1.189 GB, free: 9.062 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/1.063, allocations: 8.031 kB / 1.189 GB, free: 9.055 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001434/1.064, allocations: 198.9 kB / 1.189 GB, free: 8.859 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009865/1.065, allocations: 0.4959 MB / 1.19 GB, free: 8.324 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.345e-05/1.065, allocations: 16 kB / 1.19 GB, free: 8.309 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001549/1.065, allocations: 43.98 kB / 1.19 GB, free: 8.266 MB / 0.7917 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007449/1.066, allocations: 458.5 kB / 1.19 GB, free: 7.816 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001174/1.067, allocations: 0.7866 MB / 1.191 GB, free: 6.922 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.925e-05/1.067, allocations: 3.938 kB / 1.191 GB, free: 6.918 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.378e-05/1.068, allocations: 4 kB / 1.191 GB, free: 6.914 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.919e-05/1.068, allocations: 45.3 kB / 1.191 GB, free: 6.867 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004418/1.072, allocations: 4.494 MB / 1.195 GB, free: 2.039 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004391/1.072, allocations: 274.4 kB / 1.196 GB, free: 1.762 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000264/1.073, allocations: 214.1 kB / 1.196 GB, free: 1.551 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 3.102e-05/1.073, allocations: 4 kB / 1.196 GB, free: 1.547 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/1.073, allocations: 38.56 kB / 1.196 GB, free: 1.5 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=33): time 1.753e-06/1.073, allocations: 0 / 1.196 GB, free: 1.5 MB / 0.7917 GB Notification: Performance of matching and sorting (n=40): time 0.003721/1.077, allocations: 1.98 MB / 1.198 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.711e-05/1.077, allocations: 55.41 kB / 1.198 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003433/1.077, allocations: 337.1 kB / 1.198 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.291e-05/1.077, allocations: 29.7 kB / 1.198 GB, free: 15 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002392/1.077, allocations: 347.5 kB / 1.199 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001056/1.077, allocations: 134 kB / 1.199 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.506e-05/1.077, allocations: 0 / 1.199 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.00014/1.078, allocations: 358.8 kB / 1.199 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002946/1.078, allocations: 217.1 kB / 1.199 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003932/1.078, allocations: 363.4 kB / 1.2 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003762/1.079, allocations: 280 kB / 1.2 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/1.079, allocations: 7.891 kB / 1.2 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00143/1.08, allocations: 0.8128 MB / 1.201 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/1.08, allocations: 16.02 kB / 1.201 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.956e-06/1.08, allocations: 4 kB / 1.201 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007248/1.081, allocations: 218.4 kB / 1.201 GB, free: 12.17 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005071/1.081, allocations: 112.6 kB / 1.201 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004414/1.086, allocations: 4.733 MB / 1.206 GB, free: 6.988 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004346/1.086, allocations: 19.97 kB / 1.206 GB, free: 6.969 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.47e-05/1.086, allocations: 26.81 kB / 1.206 GB, free: 6.945 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.0001509/1.086, allocations: 128.8 kB / 1.206 GB, free: 6.812 MB / 0.8073 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001227/1.088, allocations: 0.675 MB / 1.206 GB, free: 6.121 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.825e-05/1.088, allocations: 51.44 kB / 1.206 GB, free: 6.07 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001405/1.089, allocations: 0.7193 MB / 1.207 GB, free: 5.336 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/1.089, allocations: 7.984 kB / 1.207 GB, free: 5.328 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/1.089, allocations: 4 kB / 1.207 GB, free: 5.324 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/1.089, allocations: 0 / 1.207 GB, free: 5.324 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002164/1.091, allocations: 1.354 MB / 1.208 GB, free: 3.895 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/1.091, allocations: 8.219 kB / 1.208 GB, free: 3.887 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003652/1.092, allocations: 67.88 kB / 1.209 GB, free: 3.82 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006394/1.092, allocations: 198.4 kB / 1.209 GB, free: 3.617 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.841e-05/1.093, allocations: 0 / 1.209 GB, free: 3.617 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004198/1.097, allocations: 4.665 MB / 1.213 GB, free: 14.61 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/1.097, allocations: 4 kB / 1.213 GB, free: 14.61 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001742/1.099, allocations: 1.16 MB / 1.214 GB, free: 13.36 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000257/1.099, allocations: 168.5 kB / 1.215 GB, free: 13.18 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.307e-05/1.099, allocations: 0 / 1.215 GB, free: 13.18 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003046/1.099, allocations: 19.97 kB / 1.215 GB, free: 13.16 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.112e-05/1.099, allocations: 41.34 kB / 1.215 GB, free: 13.12 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.719e-05/1.099, allocations: 15.94 kB / 1.215 GB, free: 13.1 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0002809/1.1, allocations: 259 kB / 1.215 GB, free: 12.85 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.3e-07/1.1, allocations: 0 / 1.215 GB, free: 12.85 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0007188/1.1, allocations: 160 kB / 1.215 GB, free: 12.7 MB / 0.823 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.002086/1.102, allocations: 2.195 MB / 1.217 GB, free: 10.42 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001445/1.104, allocations: 0.9245 MB / 1.218 GB, free: 9.465 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/1.104, allocations: 4 kB / 1.218 GB, free: 9.461 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.000822/1.105, allocations: 0.6302 MB / 1.219 GB, free: 8.801 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000744/1.105, allocations: 146.1 kB / 1.219 GB, free: 8.664 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001956/1.107, allocations: 1.076 MB / 1.22 GB, free: 7.527 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005311/1.108, allocations: 0.9648 MB / 1.221 GB, free: 6.535 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0003611/1.108, allocations: 112.4 kB / 1.221 GB, free: 6.43 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002581/1.109, allocations: 207.4 kB / 1.221 GB, free: 6.227 MB / 0.823 GB Notification: Performance of SimCode: time 5.61e-07/1.109, allocations: 0 / 1.221 GB, free: 6.227 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03444/1.143, allocations: 11.97 MB / 1.233 GB, free: 10.47 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001979/1.143, allocations: 153.9 kB / 1.233 GB, free: 10.28 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.281/3.424, allocations: 1.875 kB / 1.233 GB, free: 10.28 MB / 0.8386 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)