Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_dev_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_dev_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.001149/0.001148, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 222.9 MB / 239.2 MB, free: 4.652 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.001181/0.001181, allocations: 196.5 kB / 289.5 MB, free: 2.375 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5611/0.5611, allocations: 91.89 MB / 431.6 MB, free: 9.305 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002379/0.002379, allocations: 79.88 kB / 0.5019 GB, free: 7.773 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3696/0.372, allocations: 71.27 MB / 0.5715 GB, free: 36.72 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.006156/0.3782, allocations: 6.949 MB / 0.5783 GB, free: 32.65 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004254/0.3825, allocations: 2.295 MB / 0.5805 GB, free: 31.05 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006642/0.3831, allocations: 8.125 kB / 0.5805 GB, free: 31.05 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005853/0.3838, allocations: 257.3 kB / 0.5807 GB, free: 30.91 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001975/0.3858, allocations: 0.9635 MB / 0.5817 GB, free: 30.29 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001018/0.3868, allocations: 0.591 MB / 0.5823 GB, free: 30 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001455/0.3883, allocations: 1.84 MB / 0.5841 GB, free: 29.12 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003459/0.3886, allocations: 258.9 kB / 0.5843 GB, free: 29.02 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006495/0.3893, allocations: 0.7402 MB / 0.585 GB, free: 28.66 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007955/0.3901, allocations: 1.007 MB / 0.586 GB, free: 28.2 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002188/0.3903, allocations: 155.9 kB / 0.5862 GB, free: 28.2 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005657/0.3909, allocations: 329.5 kB / 0.5865 GB, free: 28.15 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002395/0.3912, allocations: 394.7 kB / 0.5869 GB, free: 27.9 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005212/0.3917, allocations: 0.7626 MB / 0.5876 GB, free: 27.39 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001597/0.3933, allocations: 1.843 MB / 0.5894 GB, free: 26.59 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3933, allocations: 3.938 kB / 0.5894 GB, free: 26.59 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3933, allocations: 0 / 0.5894 GB, free: 26.59 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.199e-05/0.3933, allocations: 3.719 kB / 0.5894 GB, free: 26.59 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.01253/0.4059, allocations: 3.329 MB / 0.5927 GB, free: 25.27 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.4059, allocations: 9.094 kB / 0.5927 GB, free: 25.27 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003413/0.4094, allocations: 0.5199 MB / 0.5932 GB, free: 25.14 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001662/0.411, allocations: 0.9817 MB / 0.5941 GB, free: 24.48 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002595/0.4113, allocations: 233.3 kB / 0.5944 GB, free: 24.29 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001773/0.4115, allocations: 91.38 kB / 0.5944 GB, free: 24.26 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002143/0.4136, allocations: 0.9762 MB / 0.5954 GB, free: 23.9 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/0.4137, allocations: 0 / 0.5954 GB, free: 23.9 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-05/0.4138, allocations: 28.03 kB / 0.5954 GB, free: 23.88 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.335e-05/0.4138, allocations: 16.59 kB / 0.5954 GB, free: 23.88 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002551/0.4164, allocations: 1.09 MB / 0.5965 GB, free: 23.54 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.006725/0.4231, allocations: 3.748 MB / 0.6002 GB, free: 21.38 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003091/0.4262, allocations: 1.673 MB / 0.6018 GB, free: 20.35 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001522/0.4277, allocations: 0.722 MB / 0.6025 GB, free: 20.07 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001011/0.4279, allocations: 22.77 kB / 0.6025 GB, free: 20.06 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.4279, allocations: 42.69 kB / 0.6026 GB, free: 20.02 MB / 430.1 MB Notification: Performance of pre-optimization done (n=103): time 2.544e-06/0.4279, allocations: 1.188 kB / 0.6026 GB, free: 20.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=103): time 0.02313/0.451, allocations: 5.591 MB / 0.608 GB, free: 18.83 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/0.4511, allocations: 63.17 kB / 0.6081 GB, free: 18.77 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002088/0.4532, allocations: 1.273 MB / 0.6093 GB, free: 18.23 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003485/0.4536, allocations: 50.2 kB / 0.6094 GB, free: 18.18 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003274/0.4539, allocations: 479.5 kB / 0.6098 GB, free: 17.8 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003902/0.4543, allocations: 395.1 kB / 0.6102 GB, free: 17.5 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000664/0.455, allocations: 385.7 kB / 0.6106 GB, free: 17.32 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.193e-05/0.455, allocations: 301.8 kB / 0.6109 GB, free: 17.02 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002014/0.457, allocations: 0.9438 MB / 0.6118 GB, free: 16.66 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002137/0.4592, allocations: 1.109 MB / 0.6129 GB, free: 16.19 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003836/0.463, allocations: 1.929 MB / 0.6148 GB, free: 15.29 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.4631, allocations: 1.312 kB / 0.6148 GB, free: 15.29 MB / 430.1 MB Notification: Performance of matching and sorting (n=256) (initialization): time 0.006772/0.4698, allocations: 3.045 MB / 0.6177 GB, free: 14.01 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.569e-05/0.4699, allocations: 5.469 kB / 0.6177 GB, free: 14.01 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.4699, allocations: 5.812 kB / 0.6177 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008598/0.4785, allocations: 2.285 MB / 0.62 GB, free: 12.49 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001736/0.4803, allocations: 355.5 kB / 0.6203 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00452/0.4848, allocations: 2.269 MB / 0.6225 GB, free: 9.848 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002361/0.4872, allocations: 222.3 kB / 0.6227 GB, free: 9.629 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001381/0.4873, allocations: 71.97 kB / 0.6228 GB, free: 9.559 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.0004567/0.4878, allocations: 265.5 kB / 0.6231 GB, free: 9.289 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002297/0.488, allocations: 138.2 kB / 0.6232 GB, free: 9.152 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009716/0.4977, allocations: 3.346 MB / 0.6265 GB, free: 5.789 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/0.4978, allocations: 12 kB / 0.6265 GB, free: 5.777 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.4978, allocations: 0 / 0.6265 GB, free: 5.777 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.226e-05/0.4978, allocations: 7.969 kB / 0.6265 GB, free: 5.77 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.0119/0.5097, allocations: 5.035 MB / 0.6314 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/0.5098, allocations: 0 / 0.6314 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007452/0.5105, allocations: 135.8 kB / 0.6315 GB, free: 480 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005152/0.5157, allocations: 1.437 MB / 0.6329 GB, free: 15.03 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000113/0.5158, allocations: 23.98 kB / 0.633 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01872/0.5345, allocations: 7.837 MB / 0.6406 GB, free: 7.016 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.356e-06/0.5346, allocations: 3.938 kB / 0.6406 GB, free: 7.012 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01285/0.5474, allocations: 4.233 MB / 0.6447 GB, free: 2.758 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006347/0.5481, allocations: 251.1 kB / 0.645 GB, free: 2.492 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002112/0.5483, allocations: 23.94 kB / 0.645 GB, free: 2.469 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001333/0.5496, allocations: 91.89 kB / 0.6451 GB, free: 2.379 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005215/0.5502, allocations: 180.8 kB / 0.6453 GB, free: 2.203 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.145e-05/0.5503, allocations: 31.98 kB / 0.6453 GB, free: 2.172 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001123/0.5514, allocations: 0.8473 MB / 0.6461 GB, free: 1.32 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5514, allocations: 0 / 0.6461 GB, free: 1.32 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001256/0.5527, allocations: 479.6 kB / 0.6466 GB, free: 0.8516 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.0003009/0.553, allocations: 154.6 kB / 0.6467 GB, free: 0.6953 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007394/0.5604, allocations: 2.488 MB / 0.6492 GB, free: 14.21 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.5604, allocations: 0 / 0.6492 GB, free: 14.21 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004225/0.5646, allocations: 1.364 MB / 0.6505 GB, free: 12.84 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009993/0.5656, allocations: 104.7 kB / 0.6506 GB, free: 12.73 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005075/0.5707, allocations: 2.685 MB / 0.6532 GB, free: 10.02 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007057/0.5714, allocations: 1.113 MB / 0.6543 GB, free: 8.879 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00056/0.572, allocations: 132.6 kB / 0.6544 GB, free: 8.746 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000322/0.5723, allocations: 79.42 kB / 0.6545 GB, free: 8.668 MB / 462.1 MB Notification: Performance of SimCode: time 9.22e-07/0.5723, allocations: 0 / 0.6545 GB, free: 8.668 MB / 462.1 MB Notification: Performance of Templates: time 0.03627/0.6086, allocations: 24.8 MB / 0.6787 GB, free: 15.89 MB / 494.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.sim & ./OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe 2>&1)