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.001291/0.001291, allocations: 119.9 kB / 16.37 MB, free: 6.016 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.421/1.421, allocations: 222.9 MB / 240 MB, free: 4.496 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.001296/0.001296, allocations: 191.3 kB / 290.3 MB, free: 2.23 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5378/0.5378, allocations: 78.53 MB / 419 MB, free: 3.137 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002875/0.002875, allocations: 79.88 kB / 498.9 MB, free: 5.656 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1658/0.1687, allocations: 68.18 MB / 0.5538 GB, free: 1.43 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.3087/0.4775, allocations: 6.937 MB / 0.5606 GB, free: 35.36 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005018/0.4826, allocations: 2.29 MB / 0.5628 GB, free: 34.75 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001294/0.4839, allocations: 8.312 kB / 0.5628 GB, free: 34.75 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008187/0.4848, allocations: 255.2 kB / 0.563 GB, free: 34.74 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003496/0.4883, allocations: 1.24 MB / 0.5643 GB, free: 34.5 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001154/0.4895, allocations: 0.4984 MB / 0.5647 GB, free: 34.46 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002495/0.492, allocations: 2.019 MB / 0.5667 GB, free: 34.09 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004674/0.4925, allocations: 258.2 kB / 0.567 GB, free: 34.04 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001163/0.4936, allocations: 0.7763 MB / 0.5677 GB, free: 33.86 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001069/0.4947, allocations: 1.034 MB / 0.5687 GB, free: 33.63 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002143/0.4949, allocations: 157.8 kB / 0.5689 GB, free: 33.63 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00071/0.4956, allocations: 334.3 kB / 0.5692 GB, free: 33.62 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000281/0.4959, allocations: 408.6 kB / 0.5696 GB, free: 33.53 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000582/0.4965, allocations: 0.7753 MB / 0.5703 GB, free: 33.26 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001797/0.4983, allocations: 1.891 MB / 0.5722 GB, free: 32.85 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.4983, allocations: 1.953 kB / 0.5722 GB, free: 32.85 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.4984, allocations: 0 / 0.5722 GB, free: 32.85 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.238e-05/0.4984, allocations: 3.938 kB / 0.5722 GB, free: 32.84 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.01471/0.5131, allocations: 3.898 MB / 0.576 GB, free: 31.85 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.5132, allocations: 11.19 kB / 0.576 GB, free: 31.85 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003155/0.5163, allocations: 0.5166 MB / 0.5765 GB, free: 31.76 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001703/0.5181, allocations: 0.9747 MB / 0.5775 GB, free: 31.34 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002765/0.5183, allocations: 232.1 kB / 0.5777 GB, free: 31.18 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001681/0.5185, allocations: 88.72 kB / 0.5778 GB, free: 31.18 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001913/0.5205, allocations: 0.9825 MB / 0.5787 GB, free: 31.12 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.937e-05/0.5205, allocations: 0 / 0.5787 GB, free: 31.12 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.182e-05/0.5206, allocations: 25.97 kB / 0.5788 GB, free: 31.12 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.677e-05/0.5206, allocations: 19.03 kB / 0.5788 GB, free: 31.12 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002217/0.5228, allocations: 1.1 MB / 0.5799 GB, free: 31.09 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.006306/0.5291, allocations: 3.729 MB / 0.5835 GB, free: 28.99 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003461/0.5326, allocations: 1.673 MB / 0.5851 GB, free: 27.98 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001632/0.5343, allocations: 0.7162 MB / 0.5858 GB, free: 27.71 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001357/0.5344, allocations: 19.55 kB / 0.5858 GB, free: 27.71 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.42e-05/0.5345, allocations: 45 kB / 0.5859 GB, free: 27.66 MB / 430.1 MB Notification: Performance of pre-optimization done (n=103): time 4.077e-06/0.5345, allocations: 0 / 0.5859 GB, free: 27.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=103): time 0.02218/0.5567, allocations: 5.595 MB / 0.5914 GB, free: 26.46 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.358e-05/0.5568, allocations: 61.75 kB / 0.5914 GB, free: 26.4 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002499/0.5593, allocations: 1.282 MB / 0.5927 GB, free: 25.86 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004113/0.5597, allocations: 50.2 kB / 0.5927 GB, free: 25.81 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003924/0.5601, allocations: 475.2 kB / 0.5932 GB, free: 25.44 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004948/0.5606, allocations: 395.1 kB / 0.5935 GB, free: 25.13 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007767/0.5614, allocations: 381.6 kB / 0.5939 GB, free: 24.96 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.275e-05/0.5615, allocations: 301.6 kB / 0.5942 GB, free: 24.66 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002287/0.5638, allocations: 0.9482 MB / 0.5951 GB, free: 24.3 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00222/0.566, allocations: 1.108 MB / 0.5962 GB, free: 23.82 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003869/0.5699, allocations: 1.938 MB / 0.5981 GB, free: 22.92 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.017e-06/0.5699, allocations: 0.9375 kB / 0.5981 GB, free: 22.92 MB / 430.1 MB Notification: Performance of matching and sorting (n=256) (initialization): time 0.007219/0.5771, allocations: 3.037 MB / 0.6011 GB, free: 21.71 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.868e-05/0.5772, allocations: 8.156 kB / 0.6011 GB, free: 21.71 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/0.5772, allocations: 2.312 kB / 0.6011 GB, free: 21.71 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009325/0.5866, allocations: 2.274 MB / 0.6033 GB, free: 21.38 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0021/0.5887, allocations: 361.1 kB / 0.6036 GB, free: 21.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0054/0.5941, allocations: 2.27 MB / 0.6059 GB, free: 20.21 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00256/0.5967, allocations: 222.7 kB / 0.6061 GB, free: 20.09 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000203/0.5969, allocations: 66.23 kB / 0.6061 GB, free: 20.08 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.0006006/0.5975, allocations: 259.2 kB / 0.6064 GB, free: 19.86 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003629/0.5979, allocations: 137.4 kB / 0.6065 GB, free: 19.79 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01139/0.6093, allocations: 3.351 MB / 0.6098 GB, free: 18.93 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.741e-05/0.6094, allocations: 10.25 kB / 0.6098 GB, free: 18.93 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.798e-05/0.6094, allocations: 0.5156 kB / 0.6098 GB, free: 18.93 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.855e-05/0.6094, allocations: 6.562 kB / 0.6098 GB, free: 18.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 postOpt removeSimpleEquations (simulation): time 0.01439/0.6238, allocations: 5.029 MB / 0.6147 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.437e-05/0.6239, allocations: 0 / 0.6147 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008171/0.6247, allocations: 136.8 kB / 0.6148 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004649/0.6294, allocations: 1.443 MB / 0.6162 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001681/0.6296, allocations: 20 kB / 0.6163 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0158/0.6454, allocations: 7.832 MB / 0.6239 GB, free: 6.336 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.6454, allocations: 0 / 0.6239 GB, free: 6.336 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01082/0.6563, allocations: 4.241 MB / 0.6281 GB, free: 2.074 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006762/0.657, allocations: 247.1 kB / 0.6283 GB, free: 1.812 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002001/0.6572, allocations: 23.94 kB / 0.6283 GB, free: 1.789 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001213/0.6584, allocations: 101 kB / 0.6284 GB, free: 1.691 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005209/0.6589, allocations: 180.7 kB / 0.6286 GB, free: 1.516 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.356e-05/0.659, allocations: 28 kB / 0.6286 GB, free: 1.488 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0009579/0.66, allocations: 0.8395 MB / 0.6294 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.66, allocations: 4 kB / 0.6294 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001237/0.6612, allocations: 487.6 kB / 0.6299 GB, free: 168 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.0002614/0.6615, allocations: 147.7 kB / 0.63 GB, free: 12 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006847/0.6683, allocations: 2.459 MB / 0.6324 GB, free: 13.55 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.6684, allocations: 0.5625 kB / 0.6324 GB, free: 13.55 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004034/0.6724, allocations: 1.349 MB / 0.6338 GB, free: 12.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001135/0.6736, allocations: 112.8 kB / 0.6339 GB, free: 12.09 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005033/0.6786, allocations: 2.659 MB / 0.6365 GB, free: 9.48 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000657/0.6793, allocations: 1.112 MB / 0.6375 GB, free: 8.332 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005512/0.6799, allocations: 123.8 kB / 0.6377 GB, free: 8.211 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003305/0.6802, allocations: 83.42 kB / 0.6377 GB, free: 8.129 MB / 446.1 MB Notification: Performance of SimCode: time 1.393e-06/0.6802, allocations: 0 / 0.6377 GB, free: 8.129 MB / 446.1 MB Notification: Performance of Templates: time 0.03906/0.7193, allocations: 24.77 MB / 0.6619 GB, free: 15.52 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 cvode -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe 2>&1)