Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.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/Modelica 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/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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: translateModel(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system") translateModel(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.332/1.332, allocations: 222.9 MB / 239 MB, free: 4.734 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 180.5 kB / 289.2 MB, free: 2.473 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4454/0.4454, allocations: 78.52 MB / 417.9 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001645/0.001645, allocations: 79.86 kB / 496.9 MB, free: 6.711 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1521, allocations: 68.17 MB / 0.5519 GB, free: 2.492 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.2923/0.4444, allocations: 7.179 MB / 0.5589 GB, free: 36.14 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00397/0.4484, allocations: 2.318 MB / 0.5611 GB, free: 35.52 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007925/0.4493, allocations: 8.438 kB / 0.5612 GB, free: 35.52 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005876/0.4499, allocations: 202.9 kB / 0.5613 GB, free: 35.5 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002562/0.4525, allocations: 1.116 MB / 0.5624 GB, free: 35.27 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008823/0.4534, allocations: 465.4 kB / 0.5629 GB, free: 35.23 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001823/0.4552, allocations: 2.011 MB / 0.5648 GB, free: 35.09 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003456/0.4556, allocations: 253.6 kB / 0.5651 GB, free: 35.05 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008097/0.4564, allocations: 0.7793 MB / 0.5658 GB, free: 34.86 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008395/0.4572, allocations: 1.038 MB / 0.5669 GB, free: 34.62 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001947/0.4574, allocations: 157.7 kB / 0.567 GB, free: 34.62 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005411/0.458, allocations: 330.4 kB / 0.5673 GB, free: 34.61 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000253/0.4582, allocations: 404.1 kB / 0.5677 GB, free: 34.53 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005041/0.4587, allocations: 0.7826 MB / 0.5685 GB, free: 34.26 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001389/0.4601, allocations: 1.871 MB / 0.5703 GB, free: 33.85 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.4602, allocations: 0 / 0.5703 GB, free: 33.85 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.4602, allocations: 1.969 kB / 0.5703 GB, free: 33.85 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.669e-05/0.4602, allocations: 2.656 kB / 0.5703 GB, free: 33.85 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 175 * Number of variables: 175 Notification: Performance of Generate backend data structure: time 0.01437/0.4746, allocations: 3.892 MB / 0.5741 GB, free: 32.85 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.507e-05/0.4746, allocations: 7.719 kB / 0.5741 GB, free: 32.85 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002961/0.4776, allocations: 0.5203 MB / 0.5746 GB, free: 32.76 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001345/0.479, allocations: 0.9823 MB / 0.5756 GB, free: 32.33 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002336/0.4792, allocations: 238.2 kB / 0.5758 GB, free: 32.17 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001581/0.4794, allocations: 87.84 kB / 0.5759 GB, free: 32.17 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001841/0.4812, allocations: 0.976 MB / 0.5768 GB, free: 32.11 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.936e-05/0.4813, allocations: 0 / 0.5768 GB, free: 32.11 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.363e-05/0.4814, allocations: 32.38 kB / 0.5769 GB, free: 32.11 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/0.4814, allocations: 16.56 kB / 0.5769 GB, free: 32.11 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002124/0.4835, allocations: 1.088 MB / 0.578 GB, free: 31.86 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005497/0.489, allocations: 3.753 MB / 0.5816 GB, free: 29.7 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002937/0.492, allocations: 1.669 MB / 0.5833 GB, free: 28.7 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00136/0.4933, allocations: 0.7107 MB / 0.5839 GB, free: 28.43 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001186/0.4935, allocations: 19.95 kB / 0.584 GB, free: 28.43 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/0.4935, allocations: 48.16 kB / 0.584 GB, free: 28.38 MB / 430.1 MB Notification: Performance of pre-optimization done (n=103): time 3.316e-06/0.4935, allocations: 3.938 kB / 0.584 GB, free: 28.38 MB / 430.1 MB Notification: Performance of matching and sorting (n=103): time 0.02194/0.5155, allocations: 5.59 MB / 0.5895 GB, free: 27.19 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/0.5155, allocations: 66.75 kB / 0.5895 GB, free: 27.12 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002199/0.5177, allocations: 1.277 MB / 0.5908 GB, free: 26.58 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003429/0.5181, allocations: 51.14 kB / 0.5908 GB, free: 26.53 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003278/0.5184, allocations: 479.4 kB / 0.5913 GB, free: 26.16 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004281/0.5189, allocations: 390.5 kB / 0.5917 GB, free: 25.86 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007109/0.5196, allocations: 385.4 kB / 0.592 GB, free: 25.68 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.847e-05/0.5196, allocations: 307 kB / 0.5923 GB, free: 25.38 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002054/0.5217, allocations: 0.9384 MB / 0.5932 GB, free: 25.02 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002172/0.5239, allocations: 1.11 MB / 0.5943 GB, free: 24.55 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00363/0.5275, allocations: 1.937 MB / 0.5962 GB, free: 23.64 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/0.5276, allocations: 0 / 0.5962 GB, free: 23.64 MB / 430.1 MB Notification: Performance of matching and sorting (n=256) (initialization): time 0.006819/0.5344, allocations: 3.037 MB / 0.5992 GB, free: 22.44 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.667e-05/0.5344, allocations: 4.531 kB / 0.5992 GB, free: 22.44 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/0.5345, allocations: 7.25 kB / 0.5992 GB, free: 22.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009235/0.5437, allocations: 2.286 MB / 0.6014 GB, free: 22.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002009/0.5457, allocations: 357.4 kB / 0.6018 GB, free: 22.06 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005408/0.5512, allocations: 2.262 MB / 0.604 GB, free: 20.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002837/0.554, allocations: 222.5 kB / 0.6042 GB, free: 20.82 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002255/0.5543, allocations: 66.17 kB / 0.6042 GB, free: 20.8 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (204): * Single equations (assignments): 203 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(24,29)} Notification: Performance of prepare postOptimizeDAE: time 0.0005915/0.5549, allocations: 267.4 kB / 0.6045 GB, free: 20.58 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003346/0.5552, allocations: 140.3 kB / 0.6046 GB, free: 20.5 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01136/0.5666, allocations: 3.346 MB / 0.6079 GB, free: 19.64 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-05/0.5667, allocations: 10.89 kB / 0.6079 GB, free: 19.64 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.569e-05/0.5667, allocations: 0.8125 kB / 0.6079 GB, free: 19.64 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.775e-05/0.5667, allocations: 6.547 kB / 0.6079 GB, free: 19.64 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01466/0.5814, allocations: 5.035 MB / 0.6128 GB, free: 16.89 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/0.5815, allocations: 3.984 kB / 0.6128 GB, free: 16.88 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007894/0.5823, allocations: 127.8 kB / 0.613 GB, free: 16.76 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004632/0.5869, allocations: 1.447 MB / 0.6144 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001359/0.5871, allocations: 21.25 kB / 0.6144 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01675/0.6038, allocations: 7.848 MB / 0.6221 GB, free: 7.301 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.6039, allocations: 0 / 0.6221 GB, free: 7.301 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01151/0.6154, allocations: 4.237 MB / 0.6262 GB, free: 3.043 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006501/0.6161, allocations: 248.2 kB / 0.6264 GB, free: 2.781 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005036/0.6166, allocations: 23.94 kB / 0.6265 GB, free: 2.758 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001629/0.6182, allocations: 97.77 kB / 0.6266 GB, free: 2.664 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005902/0.6188, allocations: 180.7 kB / 0.6267 GB, free: 2.488 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.247e-05/0.619, allocations: 28 kB / 0.6268 GB, free: 2.461 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001245/0.6202, allocations: 0.8434 MB / 0.6276 GB, free: 1.613 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6202, allocations: 0 / 0.6276 GB, free: 1.613 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001687/0.6219, allocations: 491.6 kB / 0.628 GB, free: 1.133 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,gENROE1.w,gENROE1.delta,gENROE1.Epd,gENROE1.Epq,gENROE1.PSIkd,gENROE1.PSIkq) * 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 (71): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(14,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003248/0.6222, allocations: 143 kB / 0.6282 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007559/0.6298, allocations: 2.492 MB / 0.6306 GB, free: 14.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.6298, allocations: 0 / 0.6306 GB, free: 14.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004254/0.6341, allocations: 1.346 MB / 0.6319 GB, free: 13.15 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001593/0.6357, allocations: 114.6 kB / 0.632 GB, free: 13.04 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006169/0.6419, allocations: 3.096 MB / 0.6351 GB, free: 9.988 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007457/0.6427, allocations: 1.109 MB / 0.6361 GB, free: 8.848 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006954/0.6434, allocations: 131.1 kB / 0.6363 GB, free: 8.723 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003559/0.6437, allocations: 83.53 kB / 0.6363 GB, free: 8.641 MB / 446.1 MB Notification: Performance of SimCode: time 1.022e-06/0.6437, allocations: 3.938 kB / 0.6364 GB, free: 8.637 MB / 446.1 MB Notification: Performance of Templates: time 0.03577/0.6795, allocations: 23.84 MB / 0.6596 GB, free: 0.9453 MB / 462.1 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.makefile (rm -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.sim & ./OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe 2>&1)