Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.657/1.657, allocations: 285.4 MB / 298 MB, free: 5.988 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.001178/0.001178, allocations: 176.8 kB / 366.4 MB, free: 2.062 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.901/1.901, allocations: 205.1 MB / 0.6248 GB, free: 7.711 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.0009216/0.0009213, allocations: 91.27 kB / 0.738 GB, free: 40.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.002e-05/4.005e-05, allocations: 4 kB / 0.8584 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7282/0.7282, allocations: 115.3 MB / 0.971 GB, free: 77.89 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2833/1.012, allocations: 187.9 MB / 1.154 GB, free: 11.75 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002967/1.012, allocations: 95.94 kB / 1.155 GB, free: 11.66 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.1055/1.117, allocations: 31.78 MB / 1.186 GB, free: 11.75 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.224e-06/1.118, allocations: 4 kB / 1.186 GB, free: 11.75 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 7.135e-05/1.118, allocations: 16 kB / 1.186 GB, free: 11.73 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.002048/1.12, allocations: 0.8059 MB / 1.186 GB, free: 10.88 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.367e-05/1.12, allocations: 8.031 kB / 1.186 GB, free: 10.87 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001806/1.12, allocations: 95.89 kB / 1.187 GB, free: 10.77 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002214/1.122, allocations: 202.9 kB / 1.187 GB, free: 10.57 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001406/1.124, allocations: 0.4974 MB / 1.187 GB, free: 10.03 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.947e-05/1.124, allocations: 33.56 kB / 1.187 GB, free: 9.996 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000218/1.124, allocations: 55.98 kB / 1.187 GB, free: 9.941 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001697/1.126, allocations: 0.8671 MB / 1.188 GB, free: 8.965 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.116e-05/1.126, allocations: 11.98 kB / 1.188 GB, free: 8.953 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001123/1.126, allocations: 23.98 kB / 1.188 GB, free: 8.93 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.419e-05/1.126, allocations: 40.98 kB / 1.188 GB, free: 8.887 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001372/1.127, allocations: 0.5684 MB / 1.189 GB, free: 8.324 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006748/1.134, allocations: 4.6 MB / 1.193 GB, free: 3.375 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007164/1.135, allocations: 292.5 kB / 1.194 GB, free: 3.082 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000481/1.135, allocations: 220.8 kB / 1.194 GB, free: 2.863 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 4.052e-05/1.135, allocations: 8 kB / 1.194 GB, free: 2.855 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.775e-05/1.135, allocations: 34.56 kB / 1.194 GB, free: 2.812 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=33): time 3.146e-06/1.135, allocations: 0 / 1.194 GB, free: 2.812 MB / 0.7917 GB Notification: Performance of matching and sorting (n=40): time 0.007317/1.143, allocations: 2.199 MB / 1.196 GB, free: 0.5234 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.082e-05/1.143, allocations: 59.41 kB / 1.196 GB, free: 464 kB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007303/1.144, allocations: 395.9 kB / 1.196 GB, free: 60 kB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 5.481e-05/1.144, allocations: 37.7 kB / 1.196 GB, free: 16 kB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003264/1.144, allocations: 335.8 kB / 1.197 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001639/1.144, allocations: 137.9 kB / 1.197 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.615e-05/1.144, allocations: 12 kB / 1.197 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0002192/1.144, allocations: 366.7 kB / 1.197 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005802/1.145, allocations: 233 kB / 1.197 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000722/1.146, allocations: 376.4 kB / 1.198 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000696/1.146, allocations: 289.4 kB / 1.198 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/1.147, allocations: 0 / 1.198 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002745/1.149, allocations: 0.8903 MB / 1.199 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.416e-05/1.149, allocations: 8 kB / 1.199 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.592e-05/1.149, allocations: 4 kB / 1.199 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001304/1.151, allocations: 222.6 kB / 1.199 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008219/1.151, allocations: 107.8 kB / 1.199 GB, free: 12.97 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007464/1.159, allocations: 4.926 MB / 1.204 GB, free: 7.648 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008823/1.16, allocations: 28.03 kB / 1.204 GB, free: 7.621 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-05/1.16, allocations: 31.94 kB / 1.204 GB, free: 7.59 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.000257/1.16, allocations: 142.2 kB / 1.204 GB, free: 7.445 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001597/1.16, allocations: 55.34 kB / 1.204 GB, free: 7.391 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002451/1.163, allocations: 0.7666 MB / 1.205 GB, free: 6.609 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.355e-06/1.163, allocations: 4 kB / 1.205 GB, free: 6.605 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/1.163, allocations: 0 / 1.205 GB, free: 6.605 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/1.163, allocations: 0 / 1.205 GB, free: 6.605 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003906/1.167, allocations: 1.479 MB / 1.207 GB, free: 5.039 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.367e-06/1.167, allocations: 4 kB / 1.207 GB, free: 5.035 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006399/1.168, allocations: 63.89 kB / 1.207 GB, free: 4.973 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001051/1.169, allocations: 210.6 kB / 1.207 GB, free: 4.758 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.915e-05/1.169, allocations: 10.25 kB / 1.207 GB, free: 4.75 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007078/1.176, allocations: 4.85 MB / 1.212 GB, free: 15.5 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/1.176, allocations: 4.062 kB / 1.212 GB, free: 15.5 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003041/1.179, allocations: 1.209 MB / 1.213 GB, free: 14.2 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005187/1.179, allocations: 176.4 kB / 1.213 GB, free: 14.01 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/1.18, allocations: 12 kB / 1.213 GB, free: 14 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004995/1.18, allocations: 26.12 kB / 1.213 GB, free: 13.97 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001775/1.18, allocations: 43.91 kB / 1.213 GB, free: 13.93 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.83e-05/1.18, allocations: 15.94 kB / 1.213 GB, free: 13.91 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0005769/1.181, allocations: 309.6 kB / 1.213 GB, free: 13.61 MB / 0.823 GB Notification: Performance of sort global known variables: time 3.01e-07/1.181, allocations: 0 / 1.213 GB, free: 13.61 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001231/1.182, allocations: 168 kB / 1.213 GB, free: 13.45 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.003474/1.186, allocations: 2.261 MB / 1.216 GB, free: 11.11 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002341/1.188, allocations: 0.9693 MB / 1.217 GB, free: 10.1 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/1.188, allocations: 4 kB / 1.217 GB, free: 10.09 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001305/1.189, allocations: 0.664 MB / 1.217 GB, free: 9.391 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001309/1.191, allocations: 157.8 kB / 1.217 GB, free: 9.246 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003272/1.194, allocations: 1.131 MB / 1.218 GB, free: 8.059 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008227/1.195, allocations: 0.961 MB / 1.219 GB, free: 7.07 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0005966/1.195, allocations: 107.4 kB / 1.22 GB, free: 6.965 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003918/1.196, allocations: 212.9 kB / 1.22 GB, free: 6.758 MB / 0.823 GB Notification: Performance of SimCode: time 1.052e-06/1.196, allocations: 0 / 1.22 GB, free: 6.758 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04076/1.237, allocations: 13.27 MB / 1.233 GB, free: 9.812 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002732/1.237, allocations: 203.7 kB / 1.233 GB, free: 9.586 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.227/3.464, allocations: 3.234 kB / 1.233 GB, free: 9.586 MB / 0.8386 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)