Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.511/1.511, allocations: 249.3 MB / 261.8 MB, free: 5.883 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001048/0.001048, allocations: 182.1 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.811/1.811, allocations: 205.2 MB / 0.572 GB, free: 10.62 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001235/0.001235, allocations: 96.56 kB / 0.6764 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.294e-05/3.296e-05, allocations: 4 kB / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2264/0.2264, allocations: 106.3 MB / 0.8919 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8038/1.03, allocations: 181.6 MB / 1.069 GB, free: 3.77 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003391/1.031, allocations: 94.94 kB / 1.069 GB, free: 3.719 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.08277/1.113, allocations: 31.79 MB / 1.1 GB, free: 8.984 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.244e-06/1.113, allocations: 0 / 1.1 GB, free: 8.984 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.912e-05/1.114, allocations: 16 kB / 1.1 GB, free: 8.969 MB / 0.7136 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.002157/1.116, allocations: 0.8072 MB / 1.101 GB, free: 8.16 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.542e-05/1.116, allocations: 8.031 kB / 1.101 GB, free: 8.152 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000299/1.116, allocations: 101.7 kB / 1.101 GB, free: 8.074 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001725/1.118, allocations: 202.8 kB / 1.101 GB, free: 7.875 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0013/1.119, allocations: 498 kB / 1.102 GB, free: 7.398 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.487e-05/1.119, allocations: 35.19 kB / 1.102 GB, free: 7.379 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002502/1.119, allocations: 65.19 kB / 1.102 GB, free: 7.332 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001725/1.121, allocations: 0.8673 MB / 1.103 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.772e-05/1.121, allocations: 4 kB / 1.103 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.098e-05/1.121, allocations: 23.44 kB / 1.103 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.458e-05/1.121, allocations: 44.22 kB / 1.103 GB, free: 6.504 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001026/1.122, allocations: 0.564 MB / 1.103 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005514/1.128, allocations: 4.592 MB / 1.108 GB, free: 1.355 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005157/1.129, allocations: 294.4 kB / 1.108 GB, free: 1.059 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003284/1.129, allocations: 220.8 kB / 1.108 GB, free: 0.8398 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.27e-05/1.129, allocations: 4 kB / 1.108 GB, free: 0.8359 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.727e-05/1.129, allocations: 34.56 kB / 1.109 GB, free: 0.793 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=33): time 2.975e-06/1.129, allocations: 3.938 kB / 1.109 GB, free: 0.7891 MB / 0.7136 GB Notification: Performance of matching and sorting (n=40): time 0.005062/1.134, allocations: 2.211 MB / 1.111 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/1.134, allocations: 55.41 kB / 1.111 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005868/1.135, allocations: 399.9 kB / 1.111 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.975e-05/1.135, allocations: 33.7 kB / 1.111 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002423/1.135, allocations: 331.8 kB / 1.111 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001382/1.135, allocations: 145.9 kB / 1.112 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.23e-05/1.135, allocations: 12 kB / 1.112 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001661/1.135, allocations: 366.7 kB / 1.112 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004152/1.136, allocations: 225.1 kB / 1.112 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004653/1.136, allocations: 384.4 kB / 1.113 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004479/1.137, allocations: 285.4 kB / 1.113 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/1.137, allocations: 4 kB / 1.113 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001817/1.139, allocations: 0.8824 MB / 1.114 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/1.139, allocations: 4 kB / 1.114 GB, free: 11.28 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/1.139, allocations: 8 kB / 1.114 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008365/1.14, allocations: 226.9 kB / 1.114 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005668/1.14, allocations: 111.8 kB / 1.114 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005323/1.145, allocations: 4.92 MB / 1.119 GB, free: 5.613 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006156/1.146, allocations: 31.97 kB / 1.119 GB, free: 5.582 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.838e-05/1.146, allocations: 20 kB / 1.119 GB, free: 5.562 MB / 0.7292 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.0002129/1.146, allocations: 140.8 kB / 1.119 GB, free: 5.418 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001811/1.147, allocations: 63.25 kB / 1.119 GB, free: 5.355 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001729/1.148, allocations: 0.7581 MB / 1.12 GB, free: 4.578 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/1.148, allocations: 8 kB / 1.12 GB, free: 4.57 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/1.148, allocations: 7.938 kB / 1.12 GB, free: 4.562 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-06/1.148, allocations: 3.984 kB / 1.12 GB, free: 4.559 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002833/1.151, allocations: 1.467 MB / 1.121 GB, free: 3.004 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.766e-06/1.151, allocations: 4 kB / 1.121 GB, free: 3 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004232/1.152, allocations: 76.09 kB / 1.121 GB, free: 2.926 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007002/1.152, allocations: 194.4 kB / 1.122 GB, free: 2.727 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.845e-05/1.153, allocations: 12 kB / 1.122 GB, free: 2.715 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004845/1.157, allocations: 4.873 MB / 1.126 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/1.157, allocations: 0 / 1.126 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002009/1.159, allocations: 1.196 MB / 1.127 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004385/1.16, allocations: 176.4 kB / 1.128 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001377/1.16, allocations: 12.25 kB / 1.128 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000406/1.161, allocations: 27.97 kB / 1.128 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/1.161, allocations: 43.84 kB / 1.128 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.44e-05/1.161, allocations: 8 kB / 1.128 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0004491/1.161, allocations: 309.6 kB / 1.128 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.11e-07/1.161, allocations: 0 / 1.128 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0008893/1.162, allocations: 180 kB / 1.128 GB, free: 11.4 MB / 0.7448 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.002545/1.165, allocations: 2.251 MB / 1.13 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.00172/1.166, allocations: 0.9882 MB / 1.131 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/1.166, allocations: 0 / 1.131 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.00101/1.167, allocations: 0.6601 MB / 1.132 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001146/1.169, allocations: 169.8 kB / 1.132 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002618/1.171, allocations: 1.127 MB / 1.133 GB, free: 5.98 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007228/1.172, allocations: 0.961 MB / 1.134 GB, free: 4.988 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0004471/1.172, allocations: 104.9 kB / 1.134 GB, free: 4.883 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000304/1.173, allocations: 215.4 kB / 1.134 GB, free: 4.672 MB / 0.7448 GB Notification: Performance of SimCode: time 1.423e-06/1.173, allocations: 0 / 1.134 GB, free: 4.672 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03268/1.205, allocations: 13.28 MB / 1.147 GB, free: 7.648 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002032/1.206, allocations: 195.2 kB / 1.148 GB, free: 7.43 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.364/3.569, allocations: 0 / 1.148 GB, free: 7.43 MB / 0.7605 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)