Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0/package.mo): time 2.511/2.511, allocations: 284.9 MB / 292.4 MB, free: 10.59 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.001411/0.00141, allocations: 176.8 kB / 360.6 MB, free: 7.281 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.227/2.227, allocations: 205.2 MB / 0.6191 GB, free: 12.2 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.001073/0.001072, allocations: 94.08 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.13e-05/3.147e-05, allocations: 4 kB / 0.8509 GB, free: 3.324 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7937/0.7938, allocations: 115.3 MB / 0.9634 GB, free: 78.37 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3946/1.188, allocations: 187 MB / 1.146 GB, free: 1.289 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004817/1.189, allocations: 94.23 kB / 1.146 GB, free: 1.199 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.1595/1.348, allocations: 31.66 MB / 1.177 GB, free: 1.395 MB / 0.7761 GB Notification: Performance of FrontEnd: time 3.357e-06/1.349, allocations: 0 / 1.177 GB, free: 1.395 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001011/1.349, allocations: 23.98 kB / 1.177 GB, free: 1.371 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.003317/1.352, allocations: 0.8023 MB / 1.178 GB, free: 0.5234 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 6.816e-05/1.352, allocations: 8.031 kB / 1.178 GB, free: 0.5156 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003727/1.356, allocations: 198.9 kB / 1.178 GB, free: 328 kB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002529/1.358, allocations: 0.4959 MB / 1.179 GB, free: 15.78 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.388e-05/1.358, allocations: 16 kB / 1.179 GB, free: 15.77 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003226/1.359, allocations: 42.61 kB / 1.179 GB, free: 15.73 MB / 0.7917 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002029/1.361, allocations: 458.5 kB / 1.179 GB, free: 15.28 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002626/1.364, allocations: 0.785 MB / 1.18 GB, free: 14.38 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.238e-05/1.364, allocations: 7.938 kB / 1.18 GB, free: 14.38 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001247/1.364, allocations: 4 kB / 1.18 GB, free: 14.37 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001603/1.364, allocations: 45.25 kB / 1.18 GB, free: 14.33 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01041/1.374, allocations: 4.494 MB / 1.184 GB, free: 9.496 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001095/1.376, allocations: 274.5 kB / 1.185 GB, free: 9.219 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000729/1.376, allocations: 212.8 kB / 1.185 GB, free: 9.008 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 5.706e-05/1.376, allocations: 4 kB / 1.185 GB, free: 9.004 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.219e-05/1.376, allocations: 42.56 kB / 1.185 GB, free: 8.953 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=33): time 5.721e-06/1.377, allocations: 0 / 1.185 GB, free: 8.953 MB / 0.7917 GB Notification: Performance of matching and sorting (n=40): time 0.01155/1.388, allocations: 1.984 MB / 1.187 GB, free: 6.879 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.147e-05/1.388, allocations: 59.41 kB / 1.187 GB, free: 6.809 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008879/1.389, allocations: 337.1 kB / 1.187 GB, free: 6.477 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0001335/1.389, allocations: 25.7 kB / 1.187 GB, free: 6.445 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.000451/1.39, allocations: 343.5 kB / 1.187 GB, free: 6.102 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002844/1.39, allocations: 138 kB / 1.188 GB, free: 5.965 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.947e-05/1.39, allocations: 0 / 1.188 GB, free: 5.965 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0002516/1.39, allocations: 362.7 kB / 1.188 GB, free: 5.602 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007797/1.391, allocations: 217.1 kB / 1.188 GB, free: 5.391 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009643/1.392, allocations: 367.3 kB / 1.189 GB, free: 4.969 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009815/1.393, allocations: 277.4 kB / 1.189 GB, free: 4.699 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/1.393, allocations: 0 / 1.189 GB, free: 4.699 MB / 0.7917 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003762/1.397, allocations: 0.824 MB / 1.19 GB, free: 3.859 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 4.122e-05/1.397, allocations: 8.781 kB / 1.19 GB, free: 3.852 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.834e-05/1.397, allocations: 5.5 kB / 1.19 GB, free: 3.848 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001713/1.399, allocations: 220.5 kB / 1.19 GB, free: 3.625 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001251/1.4, allocations: 107.8 kB / 1.19 GB, free: 3.52 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009938/1.41, allocations: 4.734 MB / 1.195 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001147/1.411, allocations: 19.97 kB / 1.195 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.716e-05/1.411, allocations: 20.14 kB / 1.195 GB, free: 14.41 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.000265/1.412, allocations: 122.5 kB / 1.195 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00322/1.415, allocations: 0.6752 MB / 1.195 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002723/1.415, allocations: 67.22 kB / 1.195 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003301/1.419, allocations: 0.719 MB / 1.196 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.829e-05/1.419, allocations: 4 kB / 1.196 GB, free: 12.78 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.184e-05/1.419, allocations: 3.953 kB / 1.196 GB, free: 12.78 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/1.419, allocations: 0 / 1.196 GB, free: 12.78 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005411/1.424, allocations: 1.358 MB / 1.197 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/1.424, allocations: 0 / 1.197 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009793/1.425, allocations: 71.88 kB / 1.198 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001649/1.427, allocations: 201.8 kB / 1.198 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.541e-05/1.427, allocations: 4 kB / 1.198 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009347/1.436, allocations: 4.667 MB / 1.202 GB, free: 6.062 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.449e-05/1.436, allocations: 3.938 kB / 1.202 GB, free: 6.059 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004082/1.441, allocations: 1.156 MB / 1.203 GB, free: 4.812 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006044/1.441, allocations: 164.5 kB / 1.204 GB, free: 4.633 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001493/1.441, allocations: 4 kB / 1.204 GB, free: 4.629 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008175/1.442, allocations: 21.28 kB / 1.204 GB, free: 4.609 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002019/1.442, allocations: 39.84 kB / 1.204 GB, free: 4.57 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.664e-05/1.443, allocations: 16.06 kB / 1.204 GB, free: 4.555 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0006227/1.443, allocations: 259 kB / 1.204 GB, free: 4.305 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6.72e-07/1.443, allocations: 3.938 kB / 1.204 GB, free: 4.301 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.001617/1.445, allocations: 155.9 kB / 1.204 GB, free: 4.148 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.004875/1.45, allocations: 2.195 MB / 1.206 GB, free: 1.867 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.003245/1.453, allocations: 0.9197 MB / 1.207 GB, free: 0.918 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 9.809e-06/1.453, allocations: 3.938 kB / 1.207 GB, free: 0.9141 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.002088/1.455, allocations: 0.6317 MB / 1.208 GB, free: 260 kB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001871/1.457, allocations: 152.2 kB / 1.208 GB, free: 116 kB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00478/1.462, allocations: 1.075 MB / 1.209 GB, free: 14.98 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001109/1.463, allocations: 0.9609 MB / 1.21 GB, free: 14 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0009923/1.464, allocations: 106.8 kB / 1.21 GB, free: 13.89 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006036/1.465, allocations: 215.4 kB / 1.21 GB, free: 13.68 MB / 0.823 GB Notification: Performance of SimCode: time 1.864e-06/1.465, allocations: 0 / 1.21 GB, free: 13.68 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07175/1.537, allocations: 11.96 MB / 1.222 GB, free: 1.957 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003125/1.537, allocations: 165.5 kB / 1.222 GB, free: 1.762 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.764/4.301, allocations: 0 / 1.222 GB, free: 1.762 MB / 0.823 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)