Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="IBPSA_latest_IBPSA_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006549/0.0006549, allocations: 98.58 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 182.8 kB / 16.92 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.263/1.263, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6853/0.6853, allocations: 115.5 MB / 407.6 MB, free: 2.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002994/0.0002994, allocations: 8.5 kB / 496 MB, free: 6.246 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1374, allocations: 77.53 MB / 0.5601 GB, free: 8.926 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.00593/0.1434, allocations: 5.061 MB / 0.565 GB, free: 3.84 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004299/0.1477, allocations: 2.592 MB / 0.5675 GB, free: 1.238 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000574/0.1483, allocations: 19.81 kB / 0.5675 GB, free: 1.219 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004562/0.1488, allocations: 107.1 kB / 0.5676 GB, free: 1.113 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001202/0.15, allocations: 378.2 kB / 0.568 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009828/0.151, allocations: 358.7 kB / 0.5683 GB, free: 404 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001422/0.1524, allocations: 1.248 MB / 0.5696 GB, free: 15.14 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001328/0.1538, allocations: 0.7973 MB / 0.5703 GB, free: 14.32 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00055/0.1543, allocations: 306.6 kB / 0.5706 GB, free: 14.02 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006323/0.155, allocations: 390.5 kB / 0.571 GB, free: 13.63 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.307e-05/0.1551, allocations: 24 kB / 0.571 GB, free: 13.61 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007582/0.1558, allocations: 431.1 kB / 0.5714 GB, free: 13.19 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002646/0.1561, allocations: 219.3 kB / 0.5717 GB, free: 12.97 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003934/0.1565, allocations: 336 kB / 0.572 GB, free: 12.64 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001098/0.1576, allocations: 0.9614 MB / 0.5729 GB, free: 11.67 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.1576, allocations: 4 kB / 0.5729 GB, free: 11.67 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1577, allocations: 0 / 0.5729 GB, free: 11.67 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.941e-05/0.1577, allocations: 0 / 0.5729 GB, free: 11.67 MB / 446.1 MB 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.001465/0.1592, allocations: 0.853 MB / 0.5737 GB, free: 10.77 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.1592, allocations: 8.031 kB / 0.5738 GB, free: 10.76 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001593/0.1594, allocations: 106.6 kB / 0.5739 GB, free: 10.64 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001412/0.1608, allocations: 199.9 kB / 0.574 GB, free: 10.45 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007076/0.1615, allocations: 478.5 kB / 0.5745 GB, free: 9.945 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.518e-05/0.1616, allocations: 37.36 kB / 0.5745 GB, free: 9.906 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001582/0.1617, allocations: 60.48 kB / 0.5746 GB, free: 9.848 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001159/0.1629, allocations: 0.8316 MB / 0.5754 GB, free: 8.934 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.615e-05/0.1629, allocations: 3.938 kB / 0.5754 GB, free: 8.93 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.169e-05/0.163, allocations: 31.92 kB / 0.5754 GB, free: 8.898 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001838/0.1632, allocations: 64.95 kB / 0.5755 GB, free: 8.836 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009026/0.1641, allocations: 0.5697 MB / 0.5761 GB, free: 8.262 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00388/0.168, allocations: 4.589 MB / 0.5805 GB, free: 3.324 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004291/0.1684, allocations: 295.2 kB / 0.5808 GB, free: 3.027 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002883/0.1687, allocations: 229.3 kB / 0.581 GB, free: 2.801 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.1688, allocations: 288 / 0.581 GB, free: 2.801 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.1688, allocations: 34.84 kB / 0.5811 GB, free: 2.758 MB / 446.1 MB Notification: Performance of pre-optimization done (n=33): time 1.152e-06/0.1688, allocations: 0 / 0.5811 GB, free: 2.758 MB / 446.1 MB Notification: Performance of matching and sorting (n=40): time 0.2304/0.3992, allocations: 2.634 MB / 0.5837 GB, free: 30.77 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.3992, allocations: 55.47 kB / 0.5837 GB, free: 30.71 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005625/0.3998, allocations: 458 kB / 0.5841 GB, free: 30.59 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.496e-05/0.3999, allocations: 34.17 kB / 0.5842 GB, free: 30.56 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000189/0.4001, allocations: 339.6 kB / 0.5845 GB, free: 30.47 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/0.4002, allocations: 144.3 kB / 0.5846 GB, free: 30.4 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.181e-05/0.4003, allocations: 50.86 kB / 0.5847 GB, free: 30.39 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.593e-05/0.4004, allocations: 363.2 kB / 0.585 GB, free: 30.07 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000366/0.4007, allocations: 235.3 kB / 0.5853 GB, free: 30.07 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004288/0.4012, allocations: 411 kB / 0.5856 GB, free: 29.88 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008397/0.402, allocations: 0.6714 MB / 0.5863 GB, free: 29.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.402, allocations: 2.469 kB / 0.5863 GB, free: 29.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001685/0.4037, allocations: 0.9182 MB / 0.5872 GB, free: 29.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.4038, allocations: 12.23 kB / 0.5872 GB, free: 29.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.4038, allocations: 9.156 kB / 0.5872 GB, free: 29.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007618/0.4046, allocations: 231.9 kB / 0.5874 GB, free: 29.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005028/0.4051, allocations: 116.4 kB / 0.5876 GB, free: 29.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003845/0.4089, allocations: 4.935 MB / 0.5924 GB, free: 25.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004404/0.4094, allocations: 29.2 kB / 0.5924 GB, free: 25.19 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.113e-05/0.4094, allocations: 23.75 kB / 0.5924 GB, free: 25.19 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002639/0.4097, allocations: 232.6 kB / 0.5926 GB, free: 25.01 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.572e-05/0.4098, allocations: 58.47 kB / 0.5927 GB, free: 24.98 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001447/0.4112, allocations: 0.7686 MB / 0.5935 GB, free: 24.65 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.4113, allocations: 8.125 kB / 0.5935 GB, free: 24.65 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.4113, allocations: 3.156 kB / 0.5935 GB, free: 24.65 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.4113, allocations: 2.594 kB / 0.5935 GB, free: 24.65 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002259/0.4135, allocations: 1.496 MB / 0.5949 GB, free: 23.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.4136, allocations: 2.75 kB / 0.5949 GB, free: 23.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003656/0.4139, allocations: 75.91 kB / 0.595 GB, free: 23.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006523/0.4146, allocations: 202.3 kB / 0.5952 GB, free: 23.81 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.835e-05/0.4146, allocations: 8.828 kB / 0.5952 GB, free: 23.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003568/0.4182, allocations: 4.884 MB / 0.6 GB, free: 19.51 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.4182, allocations: 6.438 kB / 0.6 GB, free: 19.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001689/0.4199, allocations: 1.13 MB / 0.6011 GB, free: 18.93 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001979/0.4201, allocations: 172.1 kB / 0.6012 GB, free: 18.79 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.262e-05/0.4202, allocations: 8.781 kB / 0.6013 GB, free: 18.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003197/0.4205, allocations: 32.7 kB / 0.6013 GB, free: 18.77 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.889e-05/0.4206, allocations: 34.56 kB / 0.6013 GB, free: 18.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.799e-05/0.4207, allocations: 14.69 kB / 0.6013 GB, free: 18.76 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003382/0.421, allocations: 308.8 kB / 0.6016 GB, free: 18.61 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.52e-07/0.421, allocations: 0 / 0.6016 GB, free: 18.61 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007192/0.4217, allocations: 175.1 kB / 0.6018 GB, free: 18.59 MB / 446.1 MB 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001832/0.4236, allocations: 1.695 MB / 0.6034 GB, free: 17.46 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001493/0.4251, allocations: 1 MB / 0.6044 GB, free: 16.89 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.4251, allocations: 0.5312 kB / 0.6044 GB, free: 16.89 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000869/0.426, allocations: 0.6815 MB / 0.6051 GB, free: 16.43 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009539/0.4269, allocations: 175.7 kB / 0.6053 GB, free: 16.38 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007087/0.434, allocations: 5.953 MB / 0.6111 GB, free: 12.72 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004303/0.4345, allocations: 0.9436 MB / 0.612 GB, free: 12 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004037/0.4349, allocations: 112.5 kB / 0.6121 GB, free: 11.98 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002208/0.4351, allocations: 210.2 kB / 0.6123 GB, free: 11.82 MB / 446.1 MB Notification: Performance of SimCode: time 8.12e-07/0.4351, allocations: 0 / 0.6123 GB, free: 11.82 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3537/0.7889, allocations: 13.26 MB / 0.6253 GB, free: 6.637 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001504/0.7891, allocations: 227.9 kB / 0.6255 GB, free: 6.379 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.109/2.898, allocations: 0 / 0.6255 GB, free: 6.379 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1)