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.001005/0.001005, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.242/1.242, allocations: 222.9 MB / 238.9 MB, free: 4.723 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.001197/0.001197, allocations: 184.5 kB / 289.1 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.4388/0.4388, allocations: 78.51 MB / 417.8 MB, free: 3.312 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 75.88 kB / 496.8 MB, free: 6.812 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1237, allocations: 68.17 MB / 0.5517 GB, free: 2.598 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.2097/0.3335, allocations: 7.173 MB / 0.5587 GB, free: 36.11 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004032/0.3375, allocations: 2.328 MB / 0.561 GB, free: 35.48 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005798/0.3381, allocations: 10.28 kB / 0.561 GB, free: 35.48 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000633/0.3389, allocations: 203.2 kB / 0.5612 GB, free: 35.46 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002676/0.3415, allocations: 1.132 MB / 0.5623 GB, free: 35.23 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009773/0.3425, allocations: 466.6 kB / 0.5627 GB, free: 35.19 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001753/0.3443, allocations: 1.924 MB / 0.5646 GB, free: 35.05 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003306/0.3446, allocations: 234.6 kB / 0.5648 GB, free: 35.01 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000677/0.3453, allocations: 0.6994 MB / 0.5655 GB, free: 34.83 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008629/0.3462, allocations: 0.9704 MB / 0.5665 GB, free: 34.59 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001796/0.3464, allocations: 98.66 kB / 0.5666 GB, free: 34.59 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005728/0.347, allocations: 261.9 kB / 0.5668 GB, free: 34.57 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002353/0.3472, allocations: 339.9 kB / 0.5671 GB, free: 34.48 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004658/0.3477, allocations: 0.7098 MB / 0.5678 GB, free: 34.22 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001125/0.3488, allocations: 1.824 MB / 0.5696 GB, free: 33.81 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3488, allocations: 0 / 0.5696 GB, free: 33.81 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3488, allocations: 0 / 0.5696 GB, free: 33.81 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.495e-05/0.3489, allocations: 0 / 0.5696 GB, free: 33.81 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.01415/0.363, allocations: 3.896 MB / 0.5734 GB, free: 32.81 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.3631, allocations: 12.19 kB / 0.5734 GB, free: 32.81 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002906/0.366, allocations: 0.5139 MB / 0.5739 GB, free: 32.72 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001437/0.3674, allocations: 0.977 MB / 0.5749 GB, free: 32.29 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002302/0.3677, allocations: 235.6 kB / 0.5751 GB, free: 32.13 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001499/0.3678, allocations: 93.83 kB / 0.5752 GB, free: 32.13 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001846/0.3697, allocations: 0.9759 MB / 0.5761 GB, free: 32.07 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.3697, allocations: 3.938 kB / 0.5761 GB, free: 32.07 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.295e-05/0.3698, allocations: 26.81 kB / 0.5762 GB, free: 32.07 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.253e-05/0.3698, allocations: 17.81 kB / 0.5762 GB, free: 32.07 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002272/0.3721, allocations: 1.094 MB / 0.5773 GB, free: 32.04 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.00558/0.3777, allocations: 3.751 MB / 0.5809 GB, free: 30.02 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002872/0.3806, allocations: 1.665 MB / 0.5825 GB, free: 29.03 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001393/0.382, allocations: 0.7184 MB / 0.5832 GB, free: 28.75 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001161/0.3821, allocations: 16.33 kB / 0.5833 GB, free: 28.75 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.3822, allocations: 46.38 kB / 0.5833 GB, free: 28.7 MB / 430.1 MB Notification: Performance of pre-optimization done (n=103): time 3.547e-06/0.3822, allocations: 0.7031 kB / 0.5833 GB, free: 28.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=103): time 0.02072/0.4029, allocations: 5.589 MB / 0.5888 GB, free: 27.52 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.216e-05/0.403, allocations: 62.78 kB / 0.5888 GB, free: 27.45 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00298/0.406, allocations: 1.28 MB / 0.5901 GB, free: 26.91 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003788/0.4064, allocations: 52.39 kB / 0.5901 GB, free: 26.86 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004991/0.4069, allocations: 475.1 kB / 0.5906 GB, free: 26.49 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005808/0.4075, allocations: 401.4 kB / 0.591 GB, free: 26.18 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001075/0.4086, allocations: 382.3 kB / 0.5913 GB, free: 26 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.337e-05/0.4087, allocations: 301.9 kB / 0.5916 GB, free: 25.7 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002312/0.411, allocations: 0.9459 MB / 0.5925 GB, free: 25.34 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00234/0.4133, allocations: 1.109 MB / 0.5936 GB, free: 24.87 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004287/0.4176, allocations: 1.931 MB / 0.5955 GB, free: 23.97 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.528e-05/0.4177, allocations: 3.938 kB / 0.5955 GB, free: 23.97 MB / 430.1 MB Notification: Performance of matching and sorting (n=256) (initialization): time 0.00744/0.4251, allocations: 3.04 MB / 0.5985 GB, free: 22.76 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.579e-05/0.4252, allocations: 8.281 kB / 0.5985 GB, free: 22.76 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.4252, allocations: 1.281 kB / 0.5985 GB, free: 22.76 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009102/0.4343, allocations: 2.279 MB / 0.6007 GB, free: 22.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001894/0.4362, allocations: 357.3 kB / 0.6011 GB, free: 22.39 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005254/0.4415, allocations: 2.262 MB / 0.6033 GB, free: 21.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002533/0.4441, allocations: 226.2 kB / 0.6035 GB, free: 21.14 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003182/0.4444, allocations: 66.25 kB / 0.6035 GB, free: 21.13 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.0006935/0.4451, allocations: 268.3 kB / 0.6038 GB, free: 20.91 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004339/0.4456, allocations: 136 kB / 0.6039 GB, free: 20.83 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0115/0.4571, allocations: 3.346 MB / 0.6072 GB, free: 19.97 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.021e-05/0.4572, allocations: 14.16 kB / 0.6072 GB, free: 19.97 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.786e-05/0.4572, allocations: 0.625 kB / 0.6072 GB, free: 19.97 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.666e-05/0.4573, allocations: 6.156 kB / 0.6072 GB, free: 19.97 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.01478/0.472, allocations: 5.037 MB / 0.6121 GB, free: 17.44 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.224e-05/0.4721, allocations: 0 / 0.6121 GB, free: 17.44 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008768/0.473, allocations: 134.6 kB / 0.6123 GB, free: 17.38 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004833/0.4778, allocations: 1.436 MB / 0.6137 GB, free: 15.94 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001854/0.478, allocations: 24 kB / 0.6137 GB, free: 15.92 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01585/0.4939, allocations: 7.15 MB / 0.6207 GB, free: 8.633 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.494, allocations: 4 kB / 0.6207 GB, free: 8.629 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01167/0.5056, allocations: 4.237 MB / 0.6248 GB, free: 4.371 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005697/0.5062, allocations: 247.1 kB / 0.625 GB, free: 4.109 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004167/0.5067, allocations: 22.97 kB / 0.6251 GB, free: 4.09 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001448/0.5081, allocations: 95.89 kB / 0.6252 GB, free: 3.996 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005977/0.5087, allocations: 184.6 kB / 0.6253 GB, free: 3.816 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001059/0.5089, allocations: 21.31 kB / 0.6254 GB, free: 3.797 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001183/0.51, allocations: 0.8473 MB / 0.6262 GB, free: 2.945 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5101, allocations: 0 / 0.6262 GB, free: 2.945 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001706/0.5118, allocations: 483.6 kB / 0.6266 GB, free: 2.473 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.0003006/0.5121, allocations: 147.1 kB / 0.6268 GB, free: 2.32 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006568/0.5187, allocations: 2.44 MB / 0.6292 GB, free: 15.89 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.5187, allocations: 0 / 0.6292 GB, free: 15.89 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004084/0.5228, allocations: 1.323 MB / 0.6305 GB, free: 14.55 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001667/0.5245, allocations: 107.9 kB / 0.6306 GB, free: 14.45 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006566/0.5311, allocations: 3.096 MB / 0.6336 GB, free: 11.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000711/0.5318, allocations: 1.113 MB / 0.6347 GB, free: 10.25 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006968/0.5325, allocations: 129.6 kB / 0.6348 GB, free: 10.12 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005216/0.5331, allocations: 83.42 kB / 0.6349 GB, free: 10.05 MB / 446.1 MB Notification: Performance of SimCode: time 9.32e-07/0.5331, allocations: 0 / 0.6349 GB, free: 10.05 MB / 446.1 MB Notification: Performance of Templates: time 0.0341/0.5672, allocations: 22.3 MB / 0.6567 GB, free: 3.918 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)