Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_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.Generator_Aggregation.Aggregated_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system") translateModel(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001288/0.001288, 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.33/1.33, allocations: 222.9 MB / 239.2 MB, free: 4.582 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.001409/0.001409, allocations: 192.5 kB / 289.5 MB, free: 2.316 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.52/0.52, allocations: 91.9 MB / 431.6 MB, free: 9.262 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 83.86 kB / 0.5019 GB, free: 7.73 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3386/0.3401, allocations: 71.26 MB / 0.5715 GB, free: 36.55 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system): time 0.005071/0.3452, allocations: 6.193 MB / 0.5775 GB, free: 32.99 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003724/0.349, allocations: 2.116 MB / 0.5796 GB, free: 31.57 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004707/0.3495, allocations: 11.31 kB / 0.5796 GB, free: 31.57 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004215/0.3499, allocations: 228.1 kB / 0.5798 GB, free: 31.45 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001591/0.3515, allocations: 0.8969 MB / 0.5807 GB, free: 30.88 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008654/0.3524, allocations: 0.5667 MB / 0.5812 GB, free: 30.6 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001152/0.3536, allocations: 1.662 MB / 0.5829 GB, free: 29.81 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002866/0.3539, allocations: 206.1 kB / 0.583 GB, free: 29.73 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005488/0.3544, allocations: 0.6769 MB / 0.5837 GB, free: 29.41 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007269/0.3552, allocations: 0.9135 MB / 0.5846 GB, free: 29 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001752/0.3554, allocations: 145.8 kB / 0.5847 GB, free: 29 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004642/0.3558, allocations: 321.7 kB / 0.585 GB, free: 28.94 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002221/0.3561, allocations: 362.2 kB / 0.5854 GB, free: 28.71 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000455/0.3565, allocations: 0.6822 MB / 0.5861 GB, free: 28.26 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001198/0.3577, allocations: 1.672 MB / 0.5877 GB, free: 27.54 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3577, allocations: 0 / 0.5877 GB, free: 27.54 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3578, allocations: 0 / 0.5877 GB, free: 27.54 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.542e-05/0.3578, allocations: 1.125 kB / 0.5877 GB, free: 27.54 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.01113/0.3689, allocations: 3.143 MB / 0.5908 GB, free: 26.34 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.369, allocations: 9 kB / 0.5908 GB, free: 26.34 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002868/0.3718, allocations: 497.6 kB / 0.5912 GB, free: 26.22 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001185/0.373, allocations: 0.9041 MB / 0.5921 GB, free: 25.6 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002329/0.3733, allocations: 233.1 kB / 0.5923 GB, free: 25.41 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001579/0.3734, allocations: 80.42 kB / 0.5924 GB, free: 25.38 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001744/0.3752, allocations: 0.8906 MB / 0.5933 GB, free: 25.05 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.3752, allocations: 0 / 0.5933 GB, free: 25.05 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.192e-05/0.3753, allocations: 24.62 kB / 0.5933 GB, free: 25.04 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.814e-05/0.3753, allocations: 16.03 kB / 0.5933 GB, free: 25.04 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002156/0.3775, allocations: 0.9915 MB / 0.5943 GB, free: 24.71 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.004557/0.3821, allocations: 2.933 MB / 0.5972 GB, free: 23.1 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002843/0.3849, allocations: 1.103 MB / 0.5982 GB, free: 22.69 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001327/0.3863, allocations: 0.6659 MB / 0.5989 GB, free: 22.43 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.981e-05/0.3864, allocations: 20.72 kB / 0.5989 GB, free: 22.42 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.3864, allocations: 42.69 kB / 0.599 GB, free: 22.38 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 2.926e-06/0.3864, allocations: 1.219 kB / 0.599 GB, free: 22.38 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.02707/0.4135, allocations: 6.484 MB / 0.6053 GB, free: 21.15 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.402e-05/0.4136, allocations: 61.06 kB / 0.6053 GB, free: 21.09 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001751/0.4153, allocations: 1.139 MB / 0.6065 GB, free: 20.59 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002456/0.4156, allocations: 50.64 kB / 0.6065 GB, free: 20.54 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002509/0.4158, allocations: 390.2 kB / 0.6069 GB, free: 20.23 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003632/0.4162, allocations: 356.1 kB / 0.6072 GB, free: 19.96 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006075/0.4168, allocations: 373 kB / 0.6076 GB, free: 19.79 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.151e-05/0.4169, allocations: 309.9 kB / 0.6079 GB, free: 19.48 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00188/0.4188, allocations: 0.9032 MB / 0.6088 GB, free: 19.14 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00193/0.4207, allocations: 0.9318 MB / 0.6097 GB, free: 18.78 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003588/0.4243, allocations: 1.816 MB / 0.6114 GB, free: 17.96 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.4243, allocations: 0 / 0.6114 GB, free: 17.96 MB / 430.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.007195/0.4315, allocations: 3.044 MB / 0.6144 GB, free: 16.76 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.127e-05/0.4316, allocations: 4.812 kB / 0.6144 GB, free: 16.76 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.4316, allocations: 0 / 0.6144 GB, free: 16.76 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008834/0.4404, allocations: 2.284 MB / 0.6166 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001753/0.4422, allocations: 328.2 kB / 0.617 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004744/0.447, allocations: 2.275 MB / 0.6192 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002283/0.4493, allocations: 194.5 kB / 0.6194 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001501/0.4494, allocations: 63.97 kB / 0.6194 GB, free: 13.21 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (189): * Single equations (assignments): 188 * 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.0004906/0.4499, allocations: 242.1 kB / 0.6197 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002391/0.4502, allocations: 118.4 kB / 0.6198 GB, free: 12.85 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009935/0.4601, allocations: 3.297 MB / 0.623 GB, free: 9.535 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.395e-05/0.4602, allocations: 15.94 kB / 0.623 GB, free: 9.52 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/0.4602, allocations: 4 kB / 0.623 GB, free: 9.516 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.142e-05/0.4602, allocations: 7.922 kB / 0.623 GB, free: 9.508 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001615/0.4618, allocations: 1.206 MB / 0.6242 GB, free: 8.254 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/0.4619, allocations: 3.984 kB / 0.6242 GB, free: 8.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006644/0.4625, allocations: 103.9 kB / 0.6243 GB, free: 8.148 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005078/0.4676, allocations: 1.458 MB / 0.6257 GB, free: 6.688 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001536/0.4678, allocations: 16 kB / 0.6257 GB, free: 6.672 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01741/0.4852, allocations: 7.831 MB / 0.6334 GB, free: 14.69 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.4853, allocations: 3.938 kB / 0.6334 GB, free: 14.69 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01293/0.4982, allocations: 4.135 MB / 0.6374 GB, free: 10.53 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006191/0.4989, allocations: 227.4 kB / 0.6376 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002167/0.4991, allocations: 16 kB / 0.6377 GB, free: 10.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001267/0.5004, allocations: 91.84 kB / 0.6377 GB, free: 10.18 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005648/0.501, allocations: 176.7 kB / 0.6379 GB, free: 10.01 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.895e-05/0.501, allocations: 31.98 kB / 0.6379 GB, free: 9.98 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001039/0.5021, allocations: 0.7563 MB / 0.6387 GB, free: 9.215 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.5021, allocations: 0 / 0.6387 GB, free: 9.215 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001205/0.5033, allocations: 439.7 kB / 0.6391 GB, free: 8.781 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 (62): * Single equations (assignments): 61 * 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.0002909/0.5036, allocations: 148.6 kB / 0.6392 GB, free: 8.629 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007176/0.5108, allocations: 2.394 MB / 0.6416 GB, free: 6.234 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.5108, allocations: 4 kB / 0.6416 GB, free: 6.23 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00427/0.5151, allocations: 1.313 MB / 0.6429 GB, free: 4.898 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/0.5162, allocations: 88.3 kB / 0.643 GB, free: 4.809 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004596/0.5208, allocations: 2.456 MB / 0.6453 GB, free: 2.336 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005785/0.5214, allocations: 1.057 MB / 0.6464 GB, free: 1.25 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005258/0.5219, allocations: 111.6 kB / 0.6465 GB, free: 1.137 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003261/0.5223, allocations: 75.42 kB / 0.6466 GB, free: 1.062 MB / 446.1 MB Notification: Performance of SimCode: time 5.11e-07/0.5223, allocations: 0 / 0.6466 GB, free: 1.062 MB / 446.1 MB Notification: Performance of Templates: time 0.03589/0.5582, allocations: 23.76 MB / 0.6698 GB, free: 9.32 MB / 478.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.sim & ./OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe 2>&1)