Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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/Modelica 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: translateModel(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system") translateModel(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1174/0.1174, allocations: 12.61 MB / 28.86 MB, free: 244 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 115.4 kB / 32.46 MB, free: 3.395 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.492/1.492, allocations: 205.1 MB / 241 MB, free: 12.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002069/0.002069, allocations: 195.3 kB / 291.3 MB, free: 10.97 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4965/0.4965, allocations: 78.5 MB / 419.9 MB, free: 10.77 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00251/0.00251, allocations: 139.8 kB / 0.4895 GB, free: 9.43 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3624/0.3649, allocations: 68.13 MB / 0.556 GB, free: 21.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.007034/0.372, allocations: 8.273 MB / 0.5641 GB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005555/0.3776, allocations: 2.577 MB / 0.5666 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001103/0.3787, allocations: 16 kB / 0.5666 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007262/0.3795, allocations: 305.4 kB / 0.5669 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00325/0.3827, allocations: 1.507 MB / 0.5684 GB, free: 8.559 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001219/0.384, allocations: 0.5925 MB / 0.5689 GB, free: 7.969 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002394/0.3864, allocations: 2.558 MB / 0.5714 GB, free: 5.402 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004537/0.3868, allocations: 327.2 kB / 0.5718 GB, free: 5.062 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001039/0.3879, allocations: 1.004 MB / 0.5727 GB, free: 4.055 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001258/0.3892, allocations: 1.358 MB / 0.5741 GB, free: 2.691 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000258/0.3894, allocations: 204 kB / 0.5743 GB, free: 2.492 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006727/0.3901, allocations: 387.8 kB / 0.5746 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003562/0.3905, allocations: 0.5177 MB / 0.5751 GB, free: 1.594 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006482/0.3911, allocations: 0.9829 MB / 0.5761 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002561/0.3937, allocations: 2.371 MB / 0.5784 GB, free: 14.23 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.3937, allocations: 0 / 0.5784 GB, free: 14.23 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.866e-06/0.3937, allocations: 0 / 0.5784 GB, free: 14.23 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.618e-05/0.3938, allocations: 0 / 0.5784 GB, free: 14.23 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.02029/0.4141, allocations: 4.945 MB / 0.5832 GB, free: 9.227 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.832e-05/0.4141, allocations: 11.98 kB / 0.5832 GB, free: 9.215 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003594/0.4177, allocations: 0.5838 MB / 0.5838 GB, free: 8.629 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002265/0.42, allocations: 1.212 MB / 0.585 GB, free: 7.367 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002856/0.4203, allocations: 276.8 kB / 0.5853 GB, free: 7.059 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002262/0.4206, allocations: 123.9 kB / 0.5854 GB, free: 6.938 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002128/0.4227, allocations: 1.081 MB / 0.5864 GB, free: 5.852 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/0.4227, allocations: 4 kB / 0.5864 GB, free: 5.848 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/0.4228, allocations: 36 kB / 0.5865 GB, free: 5.812 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.423e-05/0.4229, allocations: 20 kB / 0.5865 GB, free: 5.793 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002355/0.4252, allocations: 1.179 MB / 0.5876 GB, free: 4.613 MB / 398.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.00856/0.4338, allocations: 4.594 MB / 0.5921 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003161/0.437, allocations: 2.148 MB / 0.5942 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001386/0.4384, allocations: 0.7943 MB / 0.595 GB, free: 12.67 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00014/0.4386, allocations: 25.28 kB / 0.595 GB, free: 12.64 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.783e-05/0.4386, allocations: 43.88 kB / 0.5951 GB, free: 12.59 MB / 414.1 MB Notification: Performance of pre-optimization done (n=130): time 3.937e-06/0.4386, allocations: 3.938 kB / 0.5951 GB, free: 12.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=130): time 0.02602/0.4646, allocations: 6.695 MB / 0.6016 GB, free: 5.855 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.441e-05/0.4647, allocations: 64.72 kB / 0.6017 GB, free: 5.781 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002834/0.4676, allocations: 1.655 MB / 0.6033 GB, free: 4.117 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004759/0.4681, allocations: 61.7 kB / 0.6034 GB, free: 4.051 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005113/0.4686, allocations: 0.5496 MB / 0.6039 GB, free: 3.492 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006434/0.4693, allocations: 0.4932 MB / 0.6044 GB, free: 2.992 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009273/0.4702, allocations: 0.5133 MB / 0.6049 GB, free: 2.473 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.4703, allocations: 301.1 kB / 0.6052 GB, free: 2.176 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002148/0.4725, allocations: 1.145 MB / 0.6063 GB, free: 1.027 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002313/0.4748, allocations: 1.364 MB / 0.6076 GB, free: 15.63 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004159/0.479, allocations: 2.346 MB / 0.6099 GB, free: 13.25 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/0.479, allocations: 0 / 0.6099 GB, free: 13.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=348) (initialization): time 0.008965/0.488, allocations: 4.082 MB / 0.6139 GB, free: 9.129 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.201e-05/0.488, allocations: 6.656 kB / 0.6139 GB, free: 9.125 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.68e-05/0.4881, allocations: 4 kB / 0.6139 GB, free: 9.121 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0105/0.4986, allocations: 2.819 MB / 0.6166 GB, free: 6.297 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00265/0.5013, allocations: 479.3 kB / 0.6171 GB, free: 5.828 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005546/0.5068, allocations: 2.535 MB / 0.6196 GB, free: 3.262 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003214/0.5101, allocations: 241.9 kB / 0.6198 GB, free: 3.023 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000237/0.5103, allocations: 91.97 kB / 0.6199 GB, free: 2.934 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 (281): * Single equations (assignments): 280 * 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 {(30,38)} Notification: Performance of prepare postOptimizeDAE: time 0.0007749/0.5111, allocations: 310.3 kB / 0.6202 GB, free: 2.621 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004006/0.5115, allocations: 169.8 kB / 0.6204 GB, free: 2.453 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01048/0.522, allocations: 3.55 MB / 0.6238 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.832e-05/0.5221, allocations: 12 kB / 0.6238 GB, free: 14.87 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.145e-05/0.5221, allocations: 0 / 0.6238 GB, free: 14.87 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.311e-05/0.5221, allocations: 7.969 kB / 0.6238 GB, free: 14.86 MB / 446.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.01314/0.5353, allocations: 5.654 MB / 0.6294 GB, free: 9.039 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.245e-05/0.5353, allocations: 4 kB / 0.6294 GB, free: 9.035 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001048/0.5364, allocations: 167.7 kB / 0.6295 GB, free: 8.871 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005092/0.5415, allocations: 1.488 MB / 0.631 GB, free: 7.379 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002093/0.5417, allocations: 24 kB / 0.631 GB, free: 7.355 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0175/0.5592, allocations: 7.844 MB / 0.6387 GB, free: 15.37 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.5593, allocations: 0 / 0.6387 GB, free: 15.37 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01253/0.5718, allocations: 4.558 MB / 0.6431 GB, free: 10.79 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009687/0.5728, allocations: 310.6 kB / 0.6434 GB, free: 10.46 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000259/0.5731, allocations: 24 kB / 0.6434 GB, free: 10.44 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001411/0.5745, allocations: 79.92 kB / 0.6435 GB, free: 10.36 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006352/0.5752, allocations: 193.5 kB / 0.6437 GB, free: 10.18 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.505e-05/0.5753, allocations: 35.98 kB / 0.6437 GB, free: 10.14 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001498/0.5768, allocations: 1.09 MB / 0.6448 GB, free: 9.055 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5768, allocations: 7.938 kB / 0.6448 GB, free: 9.047 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001759/0.5785, allocations: 0.5971 MB / 0.6454 GB, free: 8.449 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,gENROE1.w,gENROE1.delta,gENROE1.Epd,gENROE1.Epq,gENROE1.PSIkd,gENROE1.PSIkq,gENROE2.w,gENROE2.delta,gENROE2.Epd,gENROE2.Epq,gENROE2.PSIkd,gENROE2.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 (93): * Single equations (assignments): 92 * 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 {(16,31)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000369/0.5789, allocations: 155 kB / 0.6455 GB, free: 8.289 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007874/0.5868, allocations: 3.007 MB / 0.6485 GB, free: 5.281 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.5869, allocations: 3.938 kB / 0.6485 GB, free: 5.277 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00431/0.5912, allocations: 1.516 MB / 0.65 GB, free: 3.742 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001639/0.5928, allocations: 125.6 kB / 0.6501 GB, free: 3.617 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006319/0.5992, allocations: 3.481 MB / 0.6535 GB, free: 124 kB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008572/0.6, allocations: 1.23 MB / 0.6547 GB, free: 14.86 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0007564/0.6008, allocations: 159.2 kB / 0.6548 GB, free: 14.7 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004412/0.6013, allocations: 107.4 kB / 0.6549 GB, free: 14.59 MB / 478.1 MB Notification: Performance of SimCode: time 8.21e-07/0.6013, allocations: 0 / 0.6549 GB, free: 14.59 MB / 478.1 MB Notification: Performance of Templates: time 0.05136/0.6526, allocations: 30.53 MB / 0.6847 GB, free: 84 kB / 494.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe 2>&1)