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/Complex 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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/Complex 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 182.3 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.213/1.213, allocations: 222.9 MB / 239.6 MB, free: 11.02 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009884/0.0009883, allocations: 96.3 kB / 289.9 MB, free: 10.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4099/0.4099, allocations: 78.51 MB / 418.5 MB, free: 8.574 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00112/0.00112, allocations: 71.88 kB / 497.5 MB, free: 10.32 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2456/0.2467, allocations: 68.16 MB / 0.5524 GB, free: 19.93 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.005193/0.252, allocations: 7.189 MB / 0.5594 GB, free: 12.71 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003482/0.2555, allocations: 2.325 MB / 0.5617 GB, free: 10.38 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005093/0.256, allocations: 8 kB / 0.5617 GB, free: 10.37 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004144/0.2565, allocations: 206.8 kB / 0.5619 GB, free: 10.16 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002104/0.2586, allocations: 1.118 MB / 0.563 GB, free: 9.051 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006928/0.2593, allocations: 470.8 kB / 0.5634 GB, free: 8.594 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0012/0.2605, allocations: 1.944 MB / 0.5653 GB, free: 6.645 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002852/0.2608, allocations: 233.3 kB / 0.5656 GB, free: 6.402 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004568/0.2612, allocations: 0.708 MB / 0.5663 GB, free: 5.691 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006674/0.2619, allocations: 0.9725 MB / 0.5672 GB, free: 4.715 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000153/0.2621, allocations: 92 kB / 0.5673 GB, free: 4.625 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004171/0.2625, allocations: 255.8 kB / 0.5675 GB, free: 4.375 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001945/0.2627, allocations: 346.5 kB / 0.5679 GB, free: 4.035 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003929/0.2631, allocations: 0.7068 MB / 0.5686 GB, free: 3.324 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009916/0.2641, allocations: 1.824 MB / 0.5703 GB, free: 1.496 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.2641, allocations: 0 / 0.5703 GB, free: 1.496 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.2641, allocations: 0 / 0.5703 GB, free: 1.496 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.639e-05/0.2641, allocations: 0 / 0.5703 GB, free: 1.496 MB / 378.7 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.01373/0.2779, allocations: 3.898 MB / 0.5742 GB, free: 13.54 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.2779, allocations: 16.02 kB / 0.5742 GB, free: 13.53 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002805/0.2808, allocations: 0.5143 MB / 0.5747 GB, free: 13.01 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001457/0.2822, allocations: 0.9739 MB / 0.5756 GB, free: 11.98 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002568/0.2825, allocations: 242.9 kB / 0.5759 GB, free: 11.72 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001506/0.2827, allocations: 88 kB / 0.5759 GB, free: 11.63 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00194/0.2846, allocations: 0.9833 MB / 0.5769 GB, free: 10.64 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.2846, allocations: 0 / 0.5769 GB, free: 10.64 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.333e-05/0.2847, allocations: 28 kB / 0.5769 GB, free: 10.62 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.715e-05/0.2847, allocations: 20 kB / 0.5769 GB, free: 10.6 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002346/0.2871, allocations: 1.093 MB / 0.578 GB, free: 9.5 MB / 394.7 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.005482/0.2926, allocations: 3.746 MB / 0.5817 GB, free: 5.582 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003001/0.2956, allocations: 1.67 MB / 0.5833 GB, free: 3.793 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001422/0.297, allocations: 0.7193 MB / 0.584 GB, free: 3.07 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001072/0.2972, allocations: 16.98 kB / 0.584 GB, free: 3.055 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.2972, allocations: 47.55 kB / 0.5841 GB, free: 3 MB / 394.7 MB Notification: Performance of pre-optimization done (n=103): time 1.211e-05/0.2972, allocations: 3.984 kB / 0.5841 GB, free: 2.996 MB / 394.7 MB Notification: Performance of matching and sorting (n=103): time 0.02086/0.3181, allocations: 5.596 MB / 0.5895 GB, free: 13.37 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.479e-05/0.3181, allocations: 64.41 kB / 0.5896 GB, free: 13.29 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001676/0.3198, allocations: 1.275 MB / 0.5908 GB, free: 12.01 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001646/0.32, allocations: 57.64 kB / 0.5909 GB, free: 11.95 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003326/0.3203, allocations: 477.6 kB / 0.5913 GB, free: 11.47 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003679/0.3207, allocations: 398.5 kB / 0.5917 GB, free: 11.08 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006215/0.3213, allocations: 383.2 kB / 0.5921 GB, free: 10.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.674e-05/0.3214, allocations: 301.1 kB / 0.5924 GB, free: 10.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001892/0.3233, allocations: 0.941 MB / 0.5933 GB, free: 9.453 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00201/0.3254, allocations: 1.109 MB / 0.5944 GB, free: 8.312 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003605/0.329, allocations: 1.935 MB / 0.5963 GB, free: 6.352 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.329, allocations: 0 / 0.5963 GB, free: 6.352 MB / 410.7 MB Notification: Performance of matching and sorting (n=256) (initialization): time 0.006317/0.3353, allocations: 3.04 MB / 0.5992 GB, free: 3.301 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/0.3354, allocations: 8 kB / 0.5992 GB, free: 3.293 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.3354, allocations: 3.938 kB / 0.5993 GB, free: 3.289 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008397/0.3438, allocations: 2.276 MB / 0.6015 GB, free: 1.004 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001551/0.3453, allocations: 359.5 kB / 0.6018 GB, free: 0.6523 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004884/0.3502, allocations: 2.265 MB / 0.604 GB, free: 14.37 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001884/0.3521, allocations: 222.2 kB / 0.6042 GB, free: 14.15 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001379/0.3523, allocations: 67.98 kB / 0.6043 GB, free: 14.08 MB / 426.7 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.0004289/0.3527, allocations: 261.5 kB / 0.6046 GB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002205/0.353, allocations: 134.2 kB / 0.6047 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01051/0.3635, allocations: 3.346 MB / 0.6079 GB, free: 10.32 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/0.3635, allocations: 16 kB / 0.608 GB, free: 10.3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.3635, allocations: 0 / 0.608 GB, free: 10.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.908e-06/0.3635, allocations: 3.984 kB / 0.608 GB, free: 10.3 MB / 426.7 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.0121/0.3756, allocations: 5.031 MB / 0.6129 GB, free: 5.133 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.3757, allocations: 0 / 0.6129 GB, free: 5.133 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007443/0.3764, allocations: 139.8 kB / 0.613 GB, free: 4.996 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0052/0.3816, allocations: 1.441 MB / 0.6144 GB, free: 3.551 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.314e-05/0.3817, allocations: 20 kB / 0.6144 GB, free: 3.531 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01738/0.3991, allocations: 7.152 MB / 0.6214 GB, free: 12.25 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3991, allocations: 0 / 0.6214 GB, free: 12.25 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07883/0.478, allocations: 29.67 MB / 0.6504 GB, free: 14.24 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003371/0.4784, allocations: 247.1 kB / 0.6506 GB, free: 13.98 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002307/0.4786, allocations: 20 kB / 0.6507 GB, free: 13.96 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001241/0.4799, allocations: 95.89 kB / 0.6507 GB, free: 13.86 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005574/0.4804, allocations: 184.4 kB / 0.6509 GB, free: 13.68 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-05/0.4805, allocations: 24 kB / 0.6509 GB, free: 13.66 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001107/0.4816, allocations: 0.8434 MB / 0.6518 GB, free: 12.81 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4816, allocations: 0 / 0.6518 GB, free: 12.81 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001676/0.4833, allocations: 0.6832 MB / 0.6524 GB, free: 12.12 MB / 474.7 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.0002652/0.4836, allocations: 151 kB / 0.6526 GB, free: 11.97 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006798/0.4904, allocations: 2.435 MB / 0.655 GB, free: 9.535 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.4904, allocations: 4 kB / 0.655 GB, free: 9.531 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003931/0.4944, allocations: 1.34 MB / 0.6563 GB, free: 8.176 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/0.4954, allocations: 100.8 kB / 0.6564 GB, free: 8.074 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008386/0.5038, allocations: 4.31 MB / 0.6606 GB, free: 3.715 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006743/0.5045, allocations: 1.151 MB / 0.6617 GB, free: 2.531 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.000587/0.5051, allocations: 136.6 kB / 0.6618 GB, free: 2.395 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004514/0.5056, allocations: 95.41 kB / 0.6619 GB, free: 2.301 MB / 474.7 MB Notification: Performance of SimCode: time 7.32e-07/0.5056, allocations: 0 / 0.6619 GB, free: 2.301 MB / 474.7 MB Notification: Performance of Templates: time 0.2327/0.7384, allocations: 32.74 MB / 0.6939 GB, free: 112.7 MB / 490.7 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 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe 2>&1)