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.001383/0.001383, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.474/1.474, allocations: 222.9 MB / 240.1 MB, free: 4.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.001741/0.001741, allocations: 188.5 kB / 290.4 MB, free: 2.055 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4971/0.4971, allocations: 78.53 MB / 419.1 MB, free: 3.109 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001675/0.001675, allocations: 79.88 kB / 0.5543 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4646/0.4663, allocations: 68.17 MB / 0.6208 GB, free: 9.582 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.006529/0.4729, allocations: 6.937 MB / 0.6276 GB, free: 3.219 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00465/0.4775, allocations: 2.305 MB / 0.6299 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005662/0.4781, allocations: 8 kB / 0.6299 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005821/0.4788, allocations: 253.8 kB / 0.6301 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00265/0.4814, allocations: 1.243 MB / 0.6313 GB, free: 15.41 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001089/0.4825, allocations: 0.4912 MB / 0.6318 GB, free: 14.93 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002401/0.4849, allocations: 2.015 MB / 0.6338 GB, free: 12.91 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004499/0.4854, allocations: 272.8 kB / 0.634 GB, free: 12.62 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008996/0.4863, allocations: 0.7744 MB / 0.6348 GB, free: 11.85 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001195/0.4875, allocations: 1.031 MB / 0.6358 GB, free: 10.81 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002336/0.4878, allocations: 156 kB / 0.636 GB, free: 10.66 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000673/0.4884, allocations: 335.8 kB / 0.6363 GB, free: 10.33 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003774/0.4888, allocations: 414.4 kB / 0.6367 GB, free: 9.926 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007064/0.4895, allocations: 0.7654 MB / 0.6374 GB, free: 9.156 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002112/0.4917, allocations: 1.894 MB / 0.6393 GB, free: 7.258 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.336e-06/0.4917, allocations: 4 kB / 0.6393 GB, free: 7.254 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.016e-06/0.4917, allocations: 4 kB / 0.6393 GB, free: 7.25 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.654e-05/0.4917, allocations: 0 / 0.6393 GB, free: 7.25 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.01548/0.5072, allocations: 3.898 MB / 0.6431 GB, free: 3.289 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.333e-05/0.5073, allocations: 8.031 kB / 0.6431 GB, free: 3.281 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003072/0.5103, allocations: 0.5143 MB / 0.6436 GB, free: 2.766 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001557/0.5119, allocations: 0.9816 MB / 0.6445 GB, free: 1.73 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003299/0.5122, allocations: 226.9 kB / 0.6448 GB, free: 1.477 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000187/0.5124, allocations: 99.98 kB / 0.6449 GB, free: 1.379 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002248/0.5147, allocations: 0.9793 MB / 0.6458 GB, free: 404 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.06e-05/0.5147, allocations: 3.984 kB / 0.6458 GB, free: 400 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/0.5148, allocations: 24 kB / 0.6458 GB, free: 376 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.951e-05/0.5149, allocations: 16 kB / 0.6459 GB, free: 360 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002713/0.5176, allocations: 1.097 MB / 0.6469 GB, free: 15.25 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.006891/0.5245, allocations: 3.723 MB / 0.6506 GB, free: 11.36 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003404/0.5279, allocations: 1.671 MB / 0.6522 GB, free: 9.562 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001558/0.5295, allocations: 0.7182 MB / 0.6529 GB, free: 8.844 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001006/0.5296, allocations: 24.97 kB / 0.6529 GB, free: 8.82 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.433e-05/0.5297, allocations: 39.56 kB / 0.653 GB, free: 8.773 MB / 462.1 MB Notification: Performance of pre-optimization done (n=103): time 3.707e-06/0.5297, allocations: 4 kB / 0.653 GB, free: 8.77 MB / 462.1 MB Notification: Performance of matching and sorting (n=103): time 0.02271/0.5524, allocations: 5.596 MB / 0.6584 GB, free: 3.133 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.726e-05/0.5525, allocations: 64.41 kB / 0.6585 GB, free: 3.059 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00258/0.5551, allocations: 1.271 MB / 0.6597 GB, free: 1.777 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003249/0.5554, allocations: 53.7 kB / 0.6598 GB, free: 1.719 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005425/0.556, allocations: 477.6 kB / 0.6602 GB, free: 1.246 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006184/0.5566, allocations: 390.5 kB / 0.6606 GB, free: 0.8594 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001156/0.5578, allocations: 387.2 kB / 0.661 GB, free: 484 kB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.5579, allocations: 301.1 kB / 0.6613 GB, free: 180 kB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002355/0.5603, allocations: 0.9449 MB / 0.6622 GB, free: 15.22 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002429/0.5627, allocations: 1.109 MB / 0.6633 GB, free: 14.08 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004318/0.5671, allocations: 1.931 MB / 0.6652 GB, free: 12.13 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.676e-06/0.5671, allocations: 0 / 0.6652 GB, free: 12.13 MB / 478.1 MB Notification: Performance of matching and sorting (n=256) (initialization): time 0.007335/0.5744, allocations: 3.039 MB / 0.6681 GB, free: 9.082 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.651e-05/0.5745, allocations: 4 kB / 0.6681 GB, free: 9.078 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.5745, allocations: 7.938 kB / 0.6681 GB, free: 9.07 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009269/0.5838, allocations: 2.276 MB / 0.6704 GB, free: 6.789 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001836/0.5856, allocations: 359.5 kB / 0.6707 GB, free: 6.438 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005513/0.5912, allocations: 2.265 MB / 0.6729 GB, free: 4.141 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00246/0.5936, allocations: 222.2 kB / 0.6731 GB, free: 3.922 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003179/0.594, allocations: 63.98 kB / 0.6732 GB, free: 3.859 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.0007849/0.5948, allocations: 265.5 kB / 0.6734 GB, free: 3.59 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004887/0.5953, allocations: 138.2 kB / 0.6736 GB, free: 3.453 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01149/0.6068, allocations: 3.357 MB / 0.6769 GB, free: 84 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.607e-05/0.6068, allocations: 12 kB / 0.6769 GB, free: 72 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.318e-06/0.6068, allocations: 0 / 0.6769 GB, free: 72 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.842e-05/0.6069, allocations: 3.984 kB / 0.6769 GB, free: 68 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.01407/0.6209, allocations: 5.031 MB / 0.6818 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-05/0.621, allocations: 0 / 0.6818 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009177/0.6219, allocations: 135.8 kB / 0.6819 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005671/0.6276, allocations: 1.442 MB / 0.6833 GB, free: 9.324 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002051/0.6278, allocations: 23.98 kB / 0.6833 GB, free: 9.301 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02125/0.6491, allocations: 7.825 MB / 0.691 GB, free: 1.336 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.6491, allocations: 7.875 kB / 0.691 GB, free: 1.328 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01395/0.6631, allocations: 4.236 MB / 0.6951 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008492/0.664, allocations: 251.1 kB / 0.6954 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005237/0.6645, allocations: 23.94 kB / 0.6954 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001771/0.6663, allocations: 95.89 kB / 0.6955 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007011/0.6671, allocations: 184.5 kB / 0.6957 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001004/0.6672, allocations: 27.98 kB / 0.6957 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001758/0.6689, allocations: 0.8434 MB / 0.6965 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.669, allocations: 4 kB / 0.6965 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002152/0.6711, allocations: 479.6 kB / 0.697 GB, free: 11.16 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.0004516/0.6716, allocations: 147.6 kB / 0.6971 GB, free: 11 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008276/0.6799, allocations: 2.472 MB / 0.6995 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.6799, allocations: 0 / 0.6995 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004556/0.6845, allocations: 1.348 MB / 0.7008 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00138/0.6859, allocations: 112.4 kB / 0.7009 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005646/0.6915, allocations: 2.685 MB / 0.7036 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007992/0.6924, allocations: 1.12 MB / 0.7047 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005138/0.6929, allocations: 87.42 kB / 0.7047 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of SimCode: time 1.122e-06/0.6929, allocations: 0 / 0.7047 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of Templates: time 0.03417/0.7271, allocations: 21.38 MB / 0.7256 GB, free: 13.71 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)