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.001294/0.001294, allocations: 106.7 kB / 16.41 MB, free: 6.473 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.264/2.264, allocations: 222.9 MB / 240.1 MB, free: 4.594 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.002235/0.002235, allocations: 184.4 kB / 290.4 MB, free: 2.305 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.7619/0.7619, allocations: 78.53 MB / 419.1 MB, free: 3.176 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002184/0.002184, allocations: 83.88 kB / 0.5543 GB, free: 1.062 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.558/0.5602, allocations: 68.16 MB / 0.6208 GB, free: 9.648 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.007103/0.5674, allocations: 6.948 MB / 0.6276 GB, free: 3.332 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005073/0.5725, allocations: 2.297 MB / 0.6299 GB, free: 1.031 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001526/0.5741, allocations: 8 kB / 0.6299 GB, free: 1.023 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000779/0.575, allocations: 249.8 kB / 0.6301 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00374/0.5787, allocations: 1.253 MB / 0.6313 GB, free: 15.53 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001364/0.5801, allocations: 0.4941 MB / 0.6318 GB, free: 15.04 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003705/0.5838, allocations: 2.011 MB / 0.6338 GB, free: 13.02 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006251/0.5845, allocations: 268.8 kB / 0.634 GB, free: 12.75 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001515/0.586, allocations: 0.7783 MB / 0.6348 GB, free: 11.96 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001506/0.5875, allocations: 1.031 MB / 0.6358 GB, free: 10.93 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003768/0.5879, allocations: 156 kB / 0.6359 GB, free: 10.78 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008364/0.5888, allocations: 331.8 kB / 0.6363 GB, free: 10.45 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003772/0.5892, allocations: 414.4 kB / 0.6367 GB, free: 10.05 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008685/0.59, allocations: 0.7732 MB / 0.6374 GB, free: 9.27 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002828/0.5929, allocations: 1.897 MB / 0.6393 GB, free: 7.367 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.045e-05/0.5929, allocations: 0 / 0.6393 GB, free: 7.367 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.836e-06/0.5929, allocations: 0 / 0.6393 GB, free: 7.367 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.902e-05/0.593, allocations: 0 / 0.6393 GB, free: 7.367 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: 175 * Number of variables: 175 Notification: Performance of Generate backend data structure: time 0.02219/0.6152, allocations: 3.898 MB / 0.6431 GB, free: 3.406 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.968e-05/0.6153, allocations: 8.031 kB / 0.6431 GB, free: 3.398 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003901/0.6192, allocations: 0.5104 MB / 0.6436 GB, free: 2.887 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002103/0.6213, allocations: 0.9778 MB / 0.6445 GB, free: 1.855 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003397/0.6217, allocations: 234.9 kB / 0.6448 GB, free: 1.594 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002487/0.622, allocations: 91.94 kB / 0.6448 GB, free: 1.504 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002458/0.6244, allocations: 0.9794 MB / 0.6458 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.69e-05/0.6245, allocations: 4 kB / 0.6458 GB, free: 0.5156 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001191/0.6246, allocations: 28 kB / 0.6458 GB, free: 500 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.183e-05/0.6247, allocations: 16 kB / 0.6458 GB, free: 484 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003785/0.6284, allocations: 1.089 MB / 0.6469 GB, free: 15.38 MB / 462.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.009813/0.6383, allocations: 3.731 MB / 0.6506 GB, free: 11.48 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004749/0.6431, allocations: 1.668 MB / 0.6522 GB, free: 9.688 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002382/0.6455, allocations: 0.7181 MB / 0.6529 GB, free: 8.969 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001853/0.6457, allocations: 20.98 kB / 0.6529 GB, free: 8.949 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.985e-05/0.6458, allocations: 43.56 kB / 0.6529 GB, free: 8.898 MB / 462.1 MB Notification: Performance of pre-optimization done (n=103): time 4.349e-06/0.6458, allocations: 0 / 0.6529 GB, free: 8.898 MB / 462.1 MB Notification: Performance of matching and sorting (n=103): time 0.03307/0.6789, allocations: 5.592 MB / 0.6584 GB, free: 3.266 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.036e-05/0.679, allocations: 64.39 kB / 0.6585 GB, free: 3.191 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003846/0.6829, allocations: 1.271 MB / 0.6597 GB, free: 1.91 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005665/0.6835, allocations: 53.64 kB / 0.6598 GB, free: 1.852 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008262/0.6844, allocations: 489.6 kB / 0.6602 GB, free: 1.367 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001045/0.6854, allocations: 390.6 kB / 0.6606 GB, free: 0.9805 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00203/0.6875, allocations: 383.2 kB / 0.661 GB, free: 0.5977 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.6877, allocations: 305.1 kB / 0.6613 GB, free: 304 kB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003679/0.6914, allocations: 0.941 MB / 0.6622 GB, free: 15.35 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003774/0.6952, allocations: 1.113 MB / 0.6633 GB, free: 14.2 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006619/0.7018, allocations: 1.931 MB / 0.6651 GB, free: 12.25 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-05/0.7019, allocations: 4 kB / 0.6652 GB, free: 12.25 MB / 478.1 MB Notification: Performance of matching and sorting (n=256) (initialization): time 0.01213/0.714, allocations: 3.036 MB / 0.6681 GB, free: 9.199 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.857e-05/0.7141, allocations: 8 kB / 0.6681 GB, free: 9.191 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.925e-05/0.7142, allocations: 4 kB / 0.6681 GB, free: 9.188 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01538/0.7296, allocations: 2.28 MB / 0.6704 GB, free: 6.906 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003584/0.7332, allocations: 355.5 kB / 0.6707 GB, free: 6.559 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01057/0.7438, allocations: 2.269 MB / 0.6729 GB, free: 4.258 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004289/0.7482, allocations: 222.2 kB / 0.6731 GB, free: 4.039 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006317/0.7489, allocations: 63.98 kB / 0.6732 GB, free: 3.977 MB / 478.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.001383/0.7503, allocations: 269.5 kB / 0.6734 GB, free: 3.703 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007013/0.751, allocations: 134.2 kB / 0.6736 GB, free: 3.57 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01648/0.7675, allocations: 3.353 MB / 0.6768 GB, free: 208 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.132e-05/0.7676, allocations: 12 kB / 0.6769 GB, free: 196 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.359e-05/0.7676, allocations: 0 / 0.6769 GB, free: 196 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-05/0.7677, allocations: 3.984 kB / 0.6769 GB, free: 192 kB / 478.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.02572/0.7934, allocations: 5.035 MB / 0.6818 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-05/0.7935, allocations: 0 / 0.6818 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001713/0.7952, allocations: 127.9 kB / 0.6819 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01069/0.806, allocations: 1.43 MB / 0.6833 GB, free: 9.461 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003799/0.8064, allocations: 24 kB / 0.6833 GB, free: 9.438 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0276/0.834, allocations: 7.842 MB / 0.691 GB, free: 1.453 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.8341, allocations: 7.938 kB / 0.691 GB, free: 1.445 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01552/0.8496, allocations: 4.232 MB / 0.6951 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009283/0.8506, allocations: 251.1 kB / 0.6954 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006295/0.8513, allocations: 27.94 kB / 0.6954 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002299/0.8536, allocations: 91.89 kB / 0.6955 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009947/0.8546, allocations: 184.5 kB / 0.6956 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002431/0.8549, allocations: 27.98 kB / 0.6957 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002255/0.8572, allocations: 0.8473 MB / 0.6965 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.41e-07/0.8572, allocations: 0 / 0.6965 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002743/0.86, allocations: 479.6 kB / 0.697 GB, free: 11.28 MB / 0.4981 GB 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.0006415/0.8606, allocations: 151.4 kB / 0.6971 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0118/0.8724, allocations: 2.469 MB / 0.6995 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/0.8725, allocations: 0 / 0.6995 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.006197/0.8787, allocations: 1.345 MB / 0.7008 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002256/0.881, allocations: 112.7 kB / 0.7009 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01088/0.892, allocations: 2.692 MB / 0.7036 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001181/0.8932, allocations: 1.12 MB / 0.7047 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009516/0.8942, allocations: 83.42 kB / 0.7047 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of SimCode: time 1.944e-06/0.8942, allocations: 0 / 0.7047 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of Templates: time 0.04849/0.9427, allocations: 21.57 MB / 0.7258 GB, free: 13.65 MB / 0.5294 GB 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)