Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.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.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_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.733/1.733, allocations: 289.9 MB / 297.4 MB, free: 6.391 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.00116/0.00116, allocations: 176.8 kB / 366.7 MB, free: 1.633 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.557/1.557, allocations: 205.3 MB / 0.626 GB, free: 7.141 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.0008497/0.0008499, allocations: 91.94 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.931e-05/1.895e-05, allocations: 4 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5835/0.5835, allocations: 116.3 MB / 0.9734 GB, free: 76.18 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.214/0.7975, allocations: 181.6 MB / 1.151 GB, free: 456 kB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002874/0.7979, allocations: 95.94 kB / 1.151 GB, free: 360 kB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.0735/0.8714, allocations: 31.11 MB / 1.181 GB, free: 1.055 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.405e-06/0.8715, allocations: 0 / 1.181 GB, free: 1.055 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.644e-05/0.8716, allocations: 19.98 kB / 1.181 GB, free: 1.035 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.001347/0.8729, allocations: 0.8023 MB / 1.182 GB, free: 188 kB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.873, allocations: 8.031 kB / 1.182 GB, free: 180 kB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001337/0.8743, allocations: 203 kB / 1.182 GB, free: 15.97 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008596/0.8752, allocations: 492 kB / 1.183 GB, free: 15.46 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.273e-05/0.8752, allocations: 16 kB / 1.183 GB, free: 15.44 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001398/0.8754, allocations: 39.91 kB / 1.183 GB, free: 15.4 MB / 0.7917 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007462/0.8761, allocations: 462.5 kB / 1.183 GB, free: 14.95 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001071/0.8772, allocations: 0.785 MB / 1.184 GB, free: 14.06 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.551e-05/0.8772, allocations: 7.938 kB / 1.184 GB, free: 14.05 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.937e-05/0.8773, allocations: 0 / 1.184 GB, free: 14.05 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.764e-05/0.8774, allocations: 49.28 kB / 1.184 GB, free: 14 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004269/0.8816, allocations: 4.486 MB / 1.188 GB, free: 9.18 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004166/0.8821, allocations: 278.4 kB / 1.189 GB, free: 8.898 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002684/0.8824, allocations: 212.8 kB / 1.189 GB, free: 8.688 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 3.011e-05/0.8824, allocations: 4 kB / 1.189 GB, free: 8.684 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.8824, allocations: 38.56 kB / 1.189 GB, free: 8.637 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=33): time 1.894e-06/0.8824, allocations: 0 / 1.189 GB, free: 8.637 MB / 0.7917 GB Notification: Performance of matching and sorting (n=40): time 0.003623/0.8861, allocations: 1.987 MB / 1.191 GB, free: 6.559 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.822e-05/0.8861, allocations: 55.41 kB / 1.191 GB, free: 6.492 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003318/0.8865, allocations: 329.1 kB / 1.191 GB, free: 6.168 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 3.473e-05/0.8865, allocations: 25.7 kB / 1.191 GB, free: 6.137 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.000203/0.8867, allocations: 343.6 kB / 1.191 GB, free: 5.793 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/0.8868, allocations: 134.7 kB / 1.192 GB, free: 5.66 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.439e-05/0.8869, allocations: 0 / 1.192 GB, free: 5.66 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.887, allocations: 358.8 kB / 1.192 GB, free: 5.301 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002906/0.8873, allocations: 221.1 kB / 1.192 GB, free: 5.086 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004057/0.8877, allocations: 367.3 kB / 1.193 GB, free: 4.656 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003646/0.8881, allocations: 273.4 kB / 1.193 GB, free: 4.391 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.8881, allocations: 0 / 1.193 GB, free: 4.391 MB / 0.7917 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001426/0.8895, allocations: 0.8201 MB / 1.194 GB, free: 3.555 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.8896, allocations: 9.781 kB / 1.194 GB, free: 3.547 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.8896, allocations: 4 kB / 1.194 GB, free: 3.543 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000719/0.8903, allocations: 222.9 kB / 1.194 GB, free: 3.316 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004933/0.8908, allocations: 107.8 kB / 1.194 GB, free: 3.211 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00454/0.8954, allocations: 4.745 MB / 1.199 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000574/0.896, allocations: 19.97 kB / 1.199 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.327e-05/0.896, allocations: 20 kB / 1.199 GB, free: 14.09 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.0001869/0.8962, allocations: 120.8 kB / 1.199 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00135/0.8976, allocations: 0.6815 MB / 1.199 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.427e-05/0.8977, allocations: 55.34 kB / 1.199 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001447/0.8991, allocations: 0.7152 MB / 1.2 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.8992, allocations: 4 kB / 1.2 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.8992, allocations: 4 kB / 1.2 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.8992, allocations: 0 / 1.2 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00246/0.9016, allocations: 1.354 MB / 1.201 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.9017, allocations: 4 kB / 1.201 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003988/0.9021, allocations: 67.89 kB / 1.201 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006577/0.9027, allocations: 206.5 kB / 1.202 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.996e-05/0.9028, allocations: 4 kB / 1.202 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004485/0.9073, allocations: 4.662 MB / 1.206 GB, free: 5.762 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.575e-06/0.9073, allocations: 7.969 kB / 1.206 GB, free: 5.754 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001754/0.9091, allocations: 1.156 MB / 1.207 GB, free: 4.508 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002276/0.9093, allocations: 164.5 kB / 1.208 GB, free: 4.328 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.261e-05/0.9094, allocations: 4 kB / 1.208 GB, free: 4.324 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002935/0.9097, allocations: 15.97 kB / 1.208 GB, free: 4.309 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.415e-05/0.9098, allocations: 43.91 kB / 1.208 GB, free: 4.266 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.072e-05/0.9098, allocations: 16 kB / 1.208 GB, free: 4.25 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.000258/0.9101, allocations: 254.9 kB / 1.208 GB, free: 4.004 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9101, allocations: 0 / 1.208 GB, free: 4.004 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0006842/0.9108, allocations: 159.9 kB / 1.208 GB, free: 3.848 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.002158/0.9129, allocations: 2.191 MB / 1.21 GB, free: 1.574 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001365/0.9143, allocations: 0.9245 MB / 1.211 GB, free: 0.6211 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.676e-06/0.9143, allocations: 3.938 kB / 1.211 GB, free: 0.6172 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0008393/0.9152, allocations: 0.6303 MB / 1.212 GB, free: 15.96 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007173/0.9159, allocations: 149.8 kB / 1.212 GB, free: 15.81 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001809/0.9177, allocations: 1.071 MB / 1.213 GB, free: 14.69 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005279/0.9183, allocations: 0.9648 MB / 1.214 GB, free: 13.69 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0003315/0.9186, allocations: 110.3 kB / 1.214 GB, free: 13.59 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002523/0.9189, allocations: 203.4 kB / 1.214 GB, free: 13.39 MB / 0.823 GB Notification: Performance of SimCode: time 7.11e-07/0.9189, allocations: 0 / 1.214 GB, free: 13.39 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04127/0.9601, allocations: 11.9 MB / 1.226 GB, free: 1.699 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001895/0.9604, allocations: 150.8 kB / 1.226 GB, free: 1.5 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.208/3.168, allocations: 2.844 kB / 1.226 GB, free: 1.5 MB / 0.823 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1)