Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_dev_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_dev_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.0008754/0.0008806, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 223.3 MB / 240 MB, free: 5.324 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.001428/0.001428, allocations: 188.5 kB / 291.3 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5258/0.5258, allocations: 91.93 MB / 434.3 MB, free: 10.28 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004367/0.000437, allocations: 8 kB / 0.5054 GB, free: 7.246 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3769/0.3774, allocations: 72.46 MB / 0.5762 GB, free: 36.46 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.005113/0.3825, allocations: 6.722 MB / 0.5827 GB, free: 32.03 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004041/0.3866, allocations: 2.303 MB / 0.585 GB, free: 30.42 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006559/0.3873, allocations: 8.469 kB / 0.585 GB, free: 30.42 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005184/0.3878, allocations: 201.6 kB / 0.5852 GB, free: 30.34 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001896/0.3897, allocations: 0.8574 MB / 0.586 GB, free: 29.79 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009566/0.3907, allocations: 0.5432 MB / 0.5866 GB, free: 29.5 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001527/0.3922, allocations: 1.749 MB / 0.5883 GB, free: 28.7 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003744/0.3926, allocations: 243.4 kB / 0.5885 GB, free: 28.59 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000685/0.3933, allocations: 0.6474 MB / 0.5891 GB, free: 28.32 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007854/0.3941, allocations: 0.9162 MB / 0.59 GB, free: 27.93 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001681/0.3943, allocations: 83.31 kB / 0.5901 GB, free: 27.93 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000541/0.3948, allocations: 248.8 kB / 0.5903 GB, free: 27.88 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002187/0.395, allocations: 328.4 kB / 0.5907 GB, free: 27.69 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004849/0.3955, allocations: 0.7054 MB / 0.5913 GB, free: 27.23 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001138/0.3967, allocations: 1.371 MB / 0.5927 GB, free: 26.85 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3967, allocations: 2.25 kB / 0.5927 GB, free: 26.85 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3967, allocations: 0 / 0.5927 GB, free: 26.85 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.675e-05/0.3967, allocations: 0 / 0.5927 GB, free: 26.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.01148/0.4082, allocations: 3.189 MB / 0.5958 GB, free: 25.68 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.289e-05/0.4083, allocations: 9.719 kB / 0.5958 GB, free: 25.68 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003413/0.4117, allocations: 0.5266 MB / 0.5963 GB, free: 25.55 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001686/0.4134, allocations: 0.9767 MB / 0.5973 GB, free: 24.89 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002694/0.4137, allocations: 241.3 kB / 0.5975 GB, free: 24.7 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001917/0.4139, allocations: 86.66 kB / 0.5976 GB, free: 24.68 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002186/0.4161, allocations: 1.041 MB / 0.5986 GB, free: 24.31 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/0.4161, allocations: 0 / 0.5986 GB, free: 24.31 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.159e-05/0.4162, allocations: 29.28 kB / 0.5986 GB, free: 24.29 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.337e-05/0.4162, allocations: 17.72 kB / 0.5986 GB, free: 24.29 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002674/0.4189, allocations: 1.178 MB / 0.5998 GB, free: 23.93 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.006641/0.4256, allocations: 3.784 MB / 0.6035 GB, free: 21.77 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003231/0.4288, allocations: 1.759 MB / 0.6052 GB, free: 20.73 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001629/0.4305, allocations: 0.7807 MB / 0.606 GB, free: 20.45 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001035/0.4306, allocations: 21.41 kB / 0.606 GB, free: 20.45 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.4306, allocations: 43.34 kB / 0.606 GB, free: 20.4 MB / 430.1 MB Notification: Performance of pre-optimization done (n=103): time 3.727e-06/0.4306, allocations: 1.156 kB / 0.606 GB, free: 20.4 MB / 430.1 MB Notification: Performance of matching and sorting (n=103): time 0.02447/0.4551, allocations: 6.633 MB / 0.6125 GB, free: 19.08 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.618e-05/0.4552, allocations: 66.64 kB / 0.6126 GB, free: 19.01 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002242/0.4574, allocations: 1.273 MB / 0.6138 GB, free: 18.48 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003274/0.4578, allocations: 51.25 kB / 0.6139 GB, free: 18.43 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003661/0.4582, allocations: 475.5 kB / 0.6143 GB, free: 18.05 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004425/0.4586, allocations: 394.5 kB / 0.6147 GB, free: 17.75 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000303/0.4589, allocations: 196.8 kB / 0.6149 GB, free: 17.66 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.111e-05/0.459, allocations: 306.3 kB / 0.6152 GB, free: 17.36 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002211/0.4612, allocations: 1.005 MB / 0.6162 GB, free: 16.99 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002312/0.4635, allocations: 1.176 MB / 0.6173 GB, free: 16.51 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004129/0.4677, allocations: 2.054 MB / 0.6193 GB, free: 15.59 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/0.4677, allocations: 1 kB / 0.6193 GB, free: 15.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=256) (initialization): time 0.006916/0.4746, allocations: 3.218 MB / 0.6225 GB, free: 13.79 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/0.4747, allocations: 8 kB / 0.6225 GB, free: 13.78 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.4747, allocations: 0 / 0.6225 GB, free: 13.78 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008334/0.483, allocations: 2.526 MB / 0.6249 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001716/0.4848, allocations: 367.5 kB / 0.6253 GB, free: 10.89 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004806/0.4896, allocations: 2.464 MB / 0.6277 GB, free: 8.395 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002612/0.4922, allocations: 254.2 kB / 0.6279 GB, free: 8.145 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000305/0.4925, allocations: 67.98 kB / 0.628 GB, free: 8.078 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.0007067/0.4932, allocations: 257.5 kB / 0.6282 GB, free: 7.816 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004308/0.4937, allocations: 138.2 kB / 0.6284 GB, free: 7.68 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01075/0.5044, allocations: 3.971 MB / 0.6323 GB, free: 3.691 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.305e-05/0.5045, allocations: 12 kB / 0.6323 GB, free: 3.68 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.838e-06/0.5045, allocations: 4 kB / 0.6323 GB, free: 3.676 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.725e-05/0.5045, allocations: 3.984 kB / 0.6323 GB, free: 3.672 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.01375/0.5183, allocations: 5.672 MB / 0.6378 GB, free: 13.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.257e-06/0.5183, allocations: 0 / 0.6378 GB, free: 13.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008325/0.5191, allocations: 139.8 kB / 0.6379 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005941/0.5251, allocations: 1.668 MB / 0.6396 GB, free: 12.06 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001423/0.5253, allocations: 24 kB / 0.6396 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01991/0.5452, allocations: 7.847 MB / 0.6473 GB, free: 4.043 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.5452, allocations: 0 / 0.6473 GB, free: 4.043 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0143/0.5595, allocations: 4.925 MB / 0.6521 GB, free: 15.1 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000886/0.5605, allocations: 251.1 kB / 0.6523 GB, free: 14.83 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004616/0.5609, allocations: 24 kB / 0.6523 GB, free: 14.81 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001672/0.5626, allocations: 123.9 kB / 0.6524 GB, free: 14.69 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006666/0.5633, allocations: 184.6 kB / 0.6526 GB, free: 14.51 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.333e-05/0.5634, allocations: 28 kB / 0.6527 GB, free: 14.48 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001667/0.5651, allocations: 0.8433 MB / 0.6535 GB, free: 13.63 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.5651, allocations: 4 kB / 0.6535 GB, free: 13.63 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001901/0.567, allocations: 487.7 kB / 0.6539 GB, free: 13.15 MB / 462.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.0003471/0.5674, allocations: 149.4 kB / 0.6541 GB, free: 13 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007971/0.5754, allocations: 2.662 MB / 0.6567 GB, free: 10.34 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.5754, allocations: 0 / 0.6567 GB, free: 10.34 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004691/0.5801, allocations: 1.5 MB / 0.6581 GB, free: 8.828 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00143/0.5815, allocations: 104.7 kB / 0.6582 GB, free: 8.723 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006207/0.5877, allocations: 3.318 MB / 0.6615 GB, free: 5.375 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008687/0.5886, allocations: 1.117 MB / 0.6626 GB, free: 4.223 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005743/0.5892, allocations: 79.42 kB / 0.6627 GB, free: 4.145 MB / 462.1 MB Notification: Performance of SimCode: time 1.052e-06/0.5892, allocations: 0 / 0.6627 GB, free: 4.145 MB / 462.1 MB Notification: Performance of Templates: time 0.03668/0.6259, allocations: 21.11 MB / 0.6833 GB, free: 15.06 MB / 494.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.sim & ./OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe 2>&1)