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.0009936/0.0009935, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.462/1.462, allocations: 223.3 MB / 239.4 MB, free: 5.418 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.0009674/0.0009674, allocations: 180.4 kB / 290.6 MB, free: 2.094 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5663/0.5663, allocations: 91.92 MB / 433.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004045/0.0004045, allocations: 8 kB / 0.5048 GB, free: 7.258 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.475/0.4754, allocations: 72.47 MB / 0.5755 GB, free: 36.5 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.005835/0.4813, allocations: 6.725 MB / 0.5821 GB, free: 31.96 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004283/0.4856, allocations: 2.295 MB / 0.5843 GB, free: 30.36 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005303/0.4862, allocations: 12.28 kB / 0.5843 GB, free: 30.36 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00053/0.4867, allocations: 202.8 kB / 0.5845 GB, free: 30.27 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001797/0.4885, allocations: 0.8609 MB / 0.5854 GB, free: 29.72 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009364/0.4894, allocations: 0.5423 MB / 0.5859 GB, free: 29.43 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0015/0.491, allocations: 1.748 MB / 0.5876 GB, free: 28.63 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003752/0.4913, allocations: 234.6 kB / 0.5878 GB, free: 28.54 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006584/0.492, allocations: 0.6549 MB / 0.5885 GB, free: 28.25 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008444/0.4929, allocations: 0.9186 MB / 0.5894 GB, free: 27.86 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001707/0.493, allocations: 84 kB / 0.5895 GB, free: 27.86 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005766/0.4936, allocations: 254.1 kB / 0.5897 GB, free: 27.81 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002462/0.4939, allocations: 316.9 kB / 0.59 GB, free: 27.63 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005608/0.4944, allocations: 0.7078 MB / 0.5907 GB, free: 27.17 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001543/0.496, allocations: 1.749 MB / 0.5924 GB, free: 26.55 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.496, allocations: 0 / 0.5924 GB, free: 26.55 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.496, allocations: 0 / 0.5924 GB, free: 26.55 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.718e-05/0.496, allocations: 0 / 0.5924 GB, free: 26.55 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.01194/0.508, allocations: 3.186 MB / 0.5955 GB, free: 25.38 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.173e-05/0.5081, allocations: 13.38 kB / 0.5955 GB, free: 25.38 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003425/0.5115, allocations: 0.5264 MB / 0.596 GB, free: 25.24 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001666/0.5132, allocations: 0.9717 MB / 0.597 GB, free: 24.59 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000332/0.5135, allocations: 242.7 kB / 0.5972 GB, free: 24.4 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002141/0.5137, allocations: 91.06 kB / 0.5973 GB, free: 24.37 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002508/0.5163, allocations: 1.038 MB / 0.5983 GB, free: 24 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/0.5163, allocations: 0 / 0.5983 GB, free: 24 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.516e-05/0.5164, allocations: 29.06 kB / 0.5983 GB, free: 23.98 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.24e-05/0.5164, allocations: 18.09 kB / 0.5984 GB, free: 23.98 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002858/0.5193, allocations: 1.178 MB / 0.5995 GB, free: 23.62 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.007094/0.5264, allocations: 3.794 MB / 0.6032 GB, free: 21.45 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003417/0.5298, allocations: 1.757 MB / 0.6049 GB, free: 20.42 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001781/0.5316, allocations: 0.7802 MB / 0.6057 GB, free: 20.14 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001111/0.5318, allocations: 21.58 kB / 0.6057 GB, free: 20.13 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.45e-05/0.5318, allocations: 45 kB / 0.6058 GB, free: 20.09 MB / 430.1 MB Notification: Performance of pre-optimization done (n=103): time 3.085e-06/0.5318, allocations: 0 / 0.6058 GB, free: 20.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=103): time 0.0267/0.5585, allocations: 6.624 MB / 0.6122 GB, free: 18.77 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.733e-05/0.5586, allocations: 67 kB / 0.6123 GB, free: 18.71 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003431/0.5621, allocations: 1.277 MB / 0.6135 GB, free: 18.17 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007224/0.5628, allocations: 50.86 kB / 0.6136 GB, free: 18.12 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005063/0.5633, allocations: 475 kB / 0.614 GB, free: 17.75 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006452/0.564, allocations: 399.1 kB / 0.6144 GB, free: 17.44 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003705/0.5644, allocations: 200.8 kB / 0.6146 GB, free: 17.34 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.472e-05/0.5645, allocations: 301.8 kB / 0.6149 GB, free: 17.05 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002364/0.5668, allocations: 1.005 MB / 0.6159 GB, free: 16.68 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00243/0.5693, allocations: 1.168 MB / 0.617 GB, free: 16.2 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004183/0.5735, allocations: 2.055 MB / 0.619 GB, free: 15.29 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.346e-06/0.5735, allocations: 0 / 0.619 GB, free: 15.29 MB / 430.1 MB Notification: Performance of matching and sorting (n=256) (initialization): time 0.007074/0.5806, allocations: 3.228 MB / 0.6222 GB, free: 13.41 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.5806, allocations: 4 kB / 0.6222 GB, free: 13.4 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/0.5806, allocations: 0 / 0.6222 GB, free: 13.4 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008403/0.5891, allocations: 2.526 MB / 0.6247 GB, free: 10.87 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001821/0.5909, allocations: 363.5 kB / 0.625 GB, free: 10.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004761/0.5957, allocations: 2.461 MB / 0.6274 GB, free: 8.027 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002536/0.5982, allocations: 262.2 kB / 0.6277 GB, free: 7.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001265/0.5984, allocations: 67.92 kB / 0.6277 GB, free: 7.703 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.0005192/0.5989, allocations: 257.5 kB / 0.628 GB, free: 7.441 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002146/0.5991, allocations: 142.2 kB / 0.6281 GB, free: 7.301 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0103/0.6094, allocations: 3.975 MB / 0.632 GB, free: 3.309 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.236e-05/0.6095, allocations: 15.94 kB / 0.632 GB, free: 3.293 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.6095, allocations: 0 / 0.632 GB, free: 3.293 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.445e-05/0.6095, allocations: 3.984 kB / 0.632 GB, free: 3.289 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.01299/0.6225, allocations: 5.664 MB / 0.6375 GB, free: 13.49 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.326e-06/0.6225, allocations: 0 / 0.6375 GB, free: 13.49 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000837/0.6234, allocations: 143.8 kB / 0.6377 GB, free: 13.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00557/0.629, allocations: 1.664 MB / 0.6393 GB, free: 11.68 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001468/0.6291, allocations: 20 kB / 0.6393 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01889/0.648, allocations: 7.855 MB / 0.647 GB, free: 3.668 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.6481, allocations: 0 / 0.647 GB, free: 3.668 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01385/0.6619, allocations: 4.925 MB / 0.6518 GB, free: 14.73 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008604/0.6628, allocations: 259.1 kB / 0.652 GB, free: 14.45 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001837/0.663, allocations: 20 kB / 0.6521 GB, free: 14.43 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001382/0.6644, allocations: 119.9 kB / 0.6522 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006093/0.665, allocations: 184.6 kB / 0.6524 GB, free: 14.14 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.052e-05/0.6651, allocations: 24 kB / 0.6524 GB, free: 14.11 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001244/0.6664, allocations: 0.8512 MB / 0.6532 GB, free: 13.26 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.6664, allocations: 0 / 0.6532 GB, free: 13.26 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00149/0.6679, allocations: 479.6 kB / 0.6537 GB, free: 12.79 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.0003236/0.6682, allocations: 158.9 kB / 0.6538 GB, free: 12.63 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007444/0.6757, allocations: 2.65 MB / 0.6564 GB, free: 9.98 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.6757, allocations: 4 kB / 0.6564 GB, free: 9.977 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004372/0.6801, allocations: 1.504 MB / 0.6579 GB, free: 8.461 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001293/0.6814, allocations: 104.7 kB / 0.658 GB, free: 8.355 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005154/0.6866, allocations: 3.283 MB / 0.6612 GB, free: 5.047 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006374/0.6872, allocations: 1.109 MB / 0.6623 GB, free: 3.902 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000628/0.6878, allocations: 124.7 kB / 0.6624 GB, free: 3.777 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003349/0.6882, allocations: 79.42 kB / 0.6625 GB, free: 3.699 MB / 462.1 MB Notification: Performance of SimCode: time 1.182e-06/0.6882, allocations: 3.938 kB / 0.6625 GB, free: 3.695 MB / 462.1 MB Notification: Performance of Templates: time 0.04196/0.7302, allocations: 21.9 MB / 0.6838 GB, free: 13.83 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)