Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: translateModel(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_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_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07867/0.07867, allocations: 12.19 MB / 27.43 MB, free: 1.379 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009935/0.0009935, allocations: 119.4 kB / 30.94 MB, free: 4.656 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.319/1.319, allocations: 205.1 MB / 239.4 MB, free: 11.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 192.5 kB / 289.6 MB, free: 15.91 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4214/0.4214, allocations: 78.5 MB / 418.1 MB, free: 31.75 MB / 318.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002501/0.002501, allocations: 137 kB / 498.4 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3977/0.4002, allocations: 68.04 MB / 0.5532 GB, free: 37.72 MB / 414.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.005961/0.4062, allocations: 7.239 MB / 0.5602 GB, free: 32.39 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003705/0.4099, allocations: 2.275 MB / 0.5625 GB, free: 30.77 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004836/0.4104, allocations: 10.72 kB / 0.5625 GB, free: 30.77 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005234/0.411, allocations: 199.2 kB / 0.5627 GB, free: 30.69 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002381/0.4134, allocations: 1.118 MB / 0.5638 GB, free: 29.99 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009023/0.4143, allocations: 472.2 kB / 0.5642 GB, free: 29.74 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001458/0.4157, allocations: 2.012 MB / 0.5662 GB, free: 28.82 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003251/0.4161, allocations: 261.1 kB / 0.5664 GB, free: 28.7 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006592/0.4168, allocations: 0.7734 MB / 0.5672 GB, free: 28.34 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008031/0.4176, allocations: 1.035 MB / 0.5682 GB, free: 27.87 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001894/0.4178, allocations: 159.8 kB / 0.5683 GB, free: 27.86 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005847/0.4184, allocations: 333.7 kB / 0.5687 GB, free: 27.81 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002449/0.4186, allocations: 410.9 kB / 0.569 GB, free: 27.55 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004679/0.4191, allocations: 0.779 MB / 0.5698 GB, free: 27.04 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001328/0.4204, allocations: 1.866 MB / 0.5716 GB, free: 26.23 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.245e-06/0.4204, allocations: 3.516 kB / 0.5716 GB, free: 26.23 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4204, allocations: 0 / 0.5716 GB, free: 26.23 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.039e-05/0.4205, allocations: 0 / 0.5716 GB, free: 26.23 MB / 414.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.0143/0.4348, allocations: 3.894 MB / 0.5754 GB, free: 24.84 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.4348, allocations: 15.58 kB / 0.5754 GB, free: 24.83 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003084/0.4379, allocations: 0.5241 MB / 0.576 GB, free: 24.7 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001685/0.4396, allocations: 0.968 MB / 0.5769 GB, free: 24.05 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002905/0.4399, allocations: 236.1 kB / 0.5771 GB, free: 23.86 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001954/0.4401, allocations: 90.73 kB / 0.5772 GB, free: 23.82 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002312/0.4425, allocations: 0.9832 MB / 0.5782 GB, free: 23.46 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.144e-05/0.4425, allocations: 0 / 0.5782 GB, free: 23.46 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.86e-05/0.4426, allocations: 25.41 kB / 0.5782 GB, free: 23.45 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.994e-05/0.4426, allocations: 17.84 kB / 0.5782 GB, free: 23.45 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002526/0.4451, allocations: 1.092 MB / 0.5793 GB, free: 23.1 MB / 414.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.008108/0.4533, allocations: 3.747 MB / 0.5829 GB, free: 20.93 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003176/0.4565, allocations: 1.67 MB / 0.5846 GB, free: 19.92 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001529/0.458, allocations: 0.7168 MB / 0.5853 GB, free: 19.64 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001266/0.4581, allocations: 21.97 kB / 0.5853 GB, free: 19.64 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.4582, allocations: 44.88 kB / 0.5853 GB, free: 19.59 MB / 414.1 MB Notification: Performance of pre-optimization done (n=103): time 3.196e-06/0.4582, allocations: 0 / 0.5853 GB, free: 19.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=103): time 0.02204/0.4802, allocations: 5.593 MB / 0.5908 GB, free: 17.12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/0.4803, allocations: 66.62 kB / 0.5909 GB, free: 17.05 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002306/0.4826, allocations: 1.278 MB / 0.5921 GB, free: 16.33 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003712/0.483, allocations: 50.73 kB / 0.5922 GB, free: 16.28 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003292/0.4834, allocations: 474 kB / 0.5926 GB, free: 15.87 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004555/0.4838, allocations: 394.9 kB / 0.593 GB, free: 15.53 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006858/0.4845, allocations: 388.4 kB / 0.5934 GB, free: 15.3 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.443e-05/0.4846, allocations: 301.1 kB / 0.5936 GB, free: 15 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001891/0.4865, allocations: 0.9405 MB / 0.5946 GB, free: 14.52 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002036/0.4885, allocations: 1.114 MB / 0.5957 GB, free: 13.9 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003893/0.4924, allocations: 1.932 MB / 0.5975 GB, free: 12.87 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.017e-05/0.4924, allocations: 1.125 kB / 0.5975 GB, free: 12.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=256) (initialization): time 0.005754/0.4982, allocations: 3.04 MB / 0.6005 GB, free: 9.883 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/0.4982, allocations: 8 kB / 0.6005 GB, free: 9.875 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/0.4983, allocations: 0 / 0.6005 GB, free: 9.875 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008134/0.5064, allocations: 2.292 MB / 0.6028 GB, free: 7.582 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001814/0.5083, allocations: 359.4 kB / 0.6031 GB, free: 7.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00444/0.5127, allocations: 2.265 MB / 0.6053 GB, free: 4.938 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002437/0.5152, allocations: 222.3 kB / 0.6055 GB, free: 4.719 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001511/0.5153, allocations: 67.98 kB / 0.6056 GB, free: 4.652 MB / 414.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.0005121/0.5158, allocations: 262.3 kB / 0.6058 GB, free: 4.387 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002302/0.5161, allocations: 138.2 kB / 0.606 GB, free: 4.25 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009357/0.5254, allocations: 3.346 MB / 0.6092 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.208e-05/0.5255, allocations: 16 kB / 0.6093 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.5255, allocations: 0 / 0.6093 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.106e-05/0.5255, allocations: 3.984 kB / 0.6093 GB, free: 0.8672 MB / 414.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.01243/0.538, allocations: 5.039 MB / 0.6142 GB, free: 11.7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.424e-05/0.538, allocations: 0 / 0.6142 GB, free: 11.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009299/0.539, allocations: 135.9 kB / 0.6143 GB, free: 11.56 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005172/0.5442, allocations: 1.441 MB / 0.6157 GB, free: 10.12 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001875/0.5444, allocations: 16 kB / 0.6157 GB, free: 10.1 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01801/0.5624, allocations: 7.841 MB / 0.6234 GB, free: 2.117 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.5624, allocations: 0 / 0.6234 GB, free: 2.117 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01229/0.5747, allocations: 4.237 MB / 0.6275 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007215/0.5755, allocations: 251 kB / 0.6278 GB, free: 13.59 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000222/0.5757, allocations: 23.94 kB / 0.6278 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001292/0.577, allocations: 91.89 kB / 0.6279 GB, free: 13.48 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000594/0.5776, allocations: 184.7 kB / 0.628 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-05/0.5777, allocations: 24 kB / 0.6281 GB, free: 13.28 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001102/0.5788, allocations: 0.8551 MB / 0.6289 GB, free: 12.42 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5788, allocations: 0 / 0.6289 GB, free: 12.42 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00136/0.5802, allocations: 475.7 kB / 0.6294 GB, free: 11.95 MB / 446.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.000292/0.5805, allocations: 140.6 kB / 0.6295 GB, free: 11.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007128/0.5876, allocations: 2.492 MB / 0.6319 GB, free: 9.316 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.187e-06/0.5876, allocations: 0 / 0.6319 GB, free: 9.316 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003992/0.5916, allocations: 1.356 MB / 0.6333 GB, free: 7.949 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001163/0.5928, allocations: 116 kB / 0.6334 GB, free: 7.836 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005139/0.598, allocations: 3.098 MB / 0.6364 GB, free: 4.719 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007074/0.5987, allocations: 1.112 MB / 0.6375 GB, free: 3.578 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005797/0.5993, allocations: 120.7 kB / 0.6376 GB, free: 3.457 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003314/0.5996, allocations: 83.42 kB / 0.6377 GB, free: 3.375 MB / 446.1 MB Notification: Performance of SimCode: time 8.62e-07/0.5996, allocations: 0 / 0.6377 GB, free: 3.375 MB / 446.1 MB Notification: Performance of Templates: time 0.0347/0.6343, allocations: 23.86 MB / 0.661 GB, free: 11.52 MB / 478.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe 2>&1)