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.001282/0.001282, allocations: 110.9 kB / 16.37 MB, free: 6.469 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.304/1.304, allocations: 222.9 MB / 240 MB, free: 4.57 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.001217/0.001216, allocations: 188.4 kB / 290.3 MB, free: 2.293 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4571/0.4571, allocations: 78.53 MB / 419 MB, free: 3.184 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 75.89 kB / 498.9 MB, free: 5.703 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1267, allocations: 68.18 MB / 0.5538 GB, free: 1.484 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.228/0.3548, allocations: 6.95 MB / 0.5606 GB, free: 35.45 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003673/0.3585, allocations: 2.288 MB / 0.5628 GB, free: 34.84 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004764/0.359, allocations: 7.969 kB / 0.5628 GB, free: 34.84 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004979/0.3595, allocations: 254.4 kB / 0.563 GB, free: 34.83 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002362/0.3619, allocations: 1.246 MB / 0.5643 GB, free: 34.56 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008676/0.3628, allocations: 0.4935 MB / 0.5647 GB, free: 34.52 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00177/0.3646, allocations: 2.021 MB / 0.5667 GB, free: 34.15 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003878/0.365, allocations: 263 kB / 0.567 GB, free: 34.1 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00103/0.366, allocations: 0.7718 MB / 0.5677 GB, free: 33.92 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009241/0.3669, allocations: 1.032 MB / 0.5687 GB, free: 33.69 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002081/0.3672, allocations: 160.4 kB / 0.5689 GB, free: 33.69 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005832/0.3677, allocations: 333.3 kB / 0.5692 GB, free: 33.68 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002495/0.368, allocations: 411.2 kB / 0.5696 GB, free: 33.58 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004981/0.3685, allocations: 0.776 MB / 0.5704 GB, free: 33.32 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001421/0.3699, allocations: 1.892 MB / 0.5722 GB, free: 32.91 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.37, allocations: 0 / 0.5722 GB, free: 32.91 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.37, allocations: 0 / 0.5722 GB, free: 32.91 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.641e-05/0.37, allocations: 0 / 0.5722 GB, free: 32.91 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.01413/0.3841, allocations: 3.897 MB / 0.576 GB, free: 31.92 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.3842, allocations: 7.875 kB / 0.576 GB, free: 31.92 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003014/0.3872, allocations: 0.5159 MB / 0.5765 GB, free: 31.83 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001369/0.3886, allocations: 0.9789 MB / 0.5775 GB, free: 31.4 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002322/0.3888, allocations: 232.7 kB / 0.5777 GB, free: 31.25 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001591/0.389, allocations: 91.92 kB / 0.5778 GB, free: 31.25 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001796/0.3908, allocations: 0.9798 MB / 0.5787 GB, free: 31.18 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.05e-05/0.3908, allocations: 2.531 kB / 0.5787 GB, free: 31.18 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.324e-05/0.3909, allocations: 29.88 kB / 0.5788 GB, free: 31.18 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.326e-05/0.3909, allocations: 17.5 kB / 0.5788 GB, free: 31.18 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002181/0.3931, allocations: 1.092 MB / 0.5799 GB, free: 31.15 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.00507/0.3982, allocations: 3.731 MB / 0.5835 GB, free: 29.06 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002884/0.4011, allocations: 1.67 MB / 0.5851 GB, free: 28.06 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001345/0.4025, allocations: 0.7152 MB / 0.5858 GB, free: 27.79 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001226/0.4026, allocations: 20.55 kB / 0.5858 GB, free: 27.79 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/0.4026, allocations: 42.81 kB / 0.5859 GB, free: 27.74 MB / 430.1 MB Notification: Performance of pre-optimization done (n=103): time 4.068e-06/0.4026, allocations: 3.016 kB / 0.5859 GB, free: 27.74 MB / 430.1 MB Notification: Performance of matching and sorting (n=103): time 0.02105/0.4237, allocations: 5.595 MB / 0.5914 GB, free: 26.54 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.786e-05/0.4238, allocations: 66.09 kB / 0.5914 GB, free: 26.48 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002067/0.4258, allocations: 1.28 MB / 0.5927 GB, free: 25.93 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002502/0.4261, allocations: 52.11 kB / 0.5927 GB, free: 25.88 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003204/0.4264, allocations: 474.4 kB / 0.5932 GB, free: 25.51 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003629/0.4268, allocations: 390.5 kB / 0.5935 GB, free: 25.21 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006962/0.4275, allocations: 387 kB / 0.5939 GB, free: 25.03 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.724e-05/0.4276, allocations: 301.7 kB / 0.5942 GB, free: 24.73 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001998/0.4296, allocations: 0.9427 MB / 0.5951 GB, free: 24.38 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002142/0.4317, allocations: 1.11 MB / 0.5962 GB, free: 23.9 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003751/0.4355, allocations: 1.932 MB / 0.5981 GB, free: 23 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.7e-06/0.4355, allocations: 5.5 kB / 0.5981 GB, free: 23 MB / 430.1 MB Notification: Performance of matching and sorting (n=256) (initialization): time 0.006483/0.442, allocations: 3.04 MB / 0.6011 GB, free: 21.79 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/0.442, allocations: 6.25 kB / 0.6011 GB, free: 21.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.4421, allocations: 1.688 kB / 0.6011 GB, free: 21.79 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009068/0.4511, allocations: 2.273 MB / 0.6033 GB, free: 21.46 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001906/0.4531, allocations: 357.2 kB / 0.6036 GB, free: 21.42 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005145/0.4582, allocations: 2.275 MB / 0.6059 GB, free: 20.29 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002346/0.4606, allocations: 226.7 kB / 0.6061 GB, free: 20.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001715/0.4608, allocations: 66.56 kB / 0.6061 GB, free: 20.15 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.0005761/0.4613, allocations: 259.9 kB / 0.6064 GB, free: 19.93 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002962/0.4617, allocations: 136.3 kB / 0.6065 GB, free: 19.86 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01085/0.4725, allocations: 3.351 MB / 0.6098 GB, free: 19 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-05/0.4726, allocations: 10.97 kB / 0.6098 GB, free: 19 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/0.4726, allocations: 0 / 0.6098 GB, free: 19 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.698e-05/0.4726, allocations: 6.75 kB / 0.6098 GB, free: 19 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.01212/0.4847, allocations: 5.025 MB / 0.6147 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.4848, allocations: 4 kB / 0.6147 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007297/0.4855, allocations: 135.7 kB / 0.6148 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004547/0.4901, allocations: 1.443 MB / 0.6163 GB, free: 14.37 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001079/0.4902, allocations: 16.62 kB / 0.6163 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01621/0.5064, allocations: 7.835 MB / 0.6239 GB, free: 6.379 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.5065, allocations: 0.6562 kB / 0.6239 GB, free: 6.379 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.011/0.5175, allocations: 4.236 MB / 0.6281 GB, free: 2.121 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005686/0.5181, allocations: 251.1 kB / 0.6283 GB, free: 1.855 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001995/0.5183, allocations: 27.94 kB / 0.6283 GB, free: 1.828 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001224/0.5195, allocations: 87.91 kB / 0.6284 GB, free: 1.742 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005092/0.52, allocations: 184.7 kB / 0.6286 GB, free: 1.562 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.808e-05/0.5201, allocations: 32.92 kB / 0.6286 GB, free: 1.531 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0009851/0.5211, allocations: 0.8473 MB / 0.6294 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5211, allocations: 0 / 0.6294 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001299/0.5224, allocations: 483.6 kB / 0.6299 GB, free: 212 kB / 430.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.0002653/0.5227, allocations: 144.5 kB / 0.63 GB, free: 60 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007026/0.5297, allocations: 2.459 MB / 0.6324 GB, free: 13.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.5298, allocations: 0 / 0.6324 GB, free: 13.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004096/0.5339, allocations: 1.355 MB / 0.6338 GB, free: 12.24 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001181/0.5351, allocations: 107.2 kB / 0.6339 GB, free: 12.14 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004699/0.5398, allocations: 2.658 MB / 0.6365 GB, free: 9.527 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005816/0.5404, allocations: 1.112 MB / 0.6375 GB, free: 8.379 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004698/0.5409, allocations: 123.2 kB / 0.6377 GB, free: 8.258 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000335/0.5412, allocations: 87.42 kB / 0.6377 GB, free: 8.172 MB / 446.1 MB Notification: Performance of SimCode: time 6.22e-07/0.5412, allocations: 0 / 0.6377 GB, free: 8.172 MB / 446.1 MB Notification: Performance of Templates: time 0.03683/0.5781, allocations: 24.76 MB / 0.6619 GB, free: 15.58 MB / 478.1 MB 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 -s gbode -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe 2>&1)