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/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/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/package.mo): time 0.07756/0.07756, allocations: 12.2 MB / 27.43 MB, free: 1.387 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 119.4 kB / 30.95 MB, free: 4.664 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.338/1.338, allocations: 205.1 MB / 239.4 MB, free: 10.93 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.001316/0.001316, allocations: 196.5 kB / 289.6 MB, free: 15.86 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4596/0.4596, allocations: 78.5 MB / 418.1 MB, free: 31.76 MB / 318.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.002378/0.002378, allocations: 139.8 kB / 498.4 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3718/0.3742, allocations: 68.03 MB / 0.5532 GB, free: 37.71 MB / 414.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.007894/0.3821, allocations: 8.523 MB / 0.5615 GB, free: 31.41 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005563/0.3877, allocations: 2.593 MB / 0.564 GB, free: 29.57 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001686/0.3895, allocations: 11.34 kB / 0.564 GB, free: 29.57 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008351/0.3904, allocations: 242.9 kB / 0.5643 GB, free: 29.47 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003968/0.3943, allocations: 1.363 MB / 0.5656 GB, free: 28.61 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001198/0.3955, allocations: 0.5552 MB / 0.5661 GB, free: 28.33 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002838/0.3984, allocations: 2.549 MB / 0.5686 GB, free: 27.16 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000509/0.3989, allocations: 318.3 kB / 0.5689 GB, free: 27 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001607/0.4005, allocations: 1.004 MB / 0.5699 GB, free: 26.54 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002005/0.4025, allocations: 1.359 MB / 0.5712 GB, free: 25.92 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007635/0.4033, allocations: 201.5 kB / 0.5714 GB, free: 25.92 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001028/0.4044, allocations: 384 kB / 0.5718 GB, free: 25.87 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003667/0.4047, allocations: 0.5164 MB / 0.5723 GB, free: 25.54 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008396/0.4056, allocations: 0.9955 MB / 0.5733 GB, free: 24.88 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002296/0.4079, allocations: 2.339 MB / 0.5756 GB, free: 23.88 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.688e-06/0.4079, allocations: 2.625 kB / 0.5756 GB, free: 23.88 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.574e-06/0.4079, allocations: 0 / 0.5756 GB, free: 23.88 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.262e-05/0.408, allocations: 0 / 0.5756 GB, free: 23.88 MB / 414.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.02052/0.4285, allocations: 4.949 MB / 0.5804 GB, free: 22.21 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/0.4286, allocations: 14.7 kB / 0.5804 GB, free: 22.21 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003743/0.4323, allocations: 0.5724 MB / 0.581 GB, free: 22.05 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00225/0.4346, allocations: 1.22 MB / 0.5822 GB, free: 21.27 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002491/0.4348, allocations: 269.8 kB / 0.5824 GB, free: 21.04 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002126/0.4351, allocations: 114.3 kB / 0.5825 GB, free: 21 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00224/0.4373, allocations: 1.096 MB / 0.5836 GB, free: 20.59 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.154e-05/0.4374, allocations: 0 / 0.5836 GB, free: 20.59 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/0.4375, allocations: 34.88 kB / 0.5836 GB, free: 20.57 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.375e-05/0.4375, allocations: 20.62 kB / 0.5836 GB, free: 20.57 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002401/0.4399, allocations: 1.183 MB / 0.5848 GB, free: 20.17 MB / 414.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.008729/0.4486, allocations: 4.616 MB / 0.5893 GB, free: 17.17 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003122/0.4518, allocations: 2.148 MB / 0.5914 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001358/0.4532, allocations: 0.7956 MB / 0.5922 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001354/0.4533, allocations: 23.56 kB / 0.5922 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.235e-05/0.4533, allocations: 44.47 kB / 0.5922 GB, free: 15.06 MB / 414.1 MB Notification: Performance of pre-optimization done (n=130): time 3.015e-06/0.4533, allocations: 0 / 0.5922 GB, free: 15.06 MB / 414.1 MB Notification: Performance of matching and sorting (n=130): time 0.0278/0.4811, allocations: 6.688 MB / 0.5988 GB, free: 11.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.179e-05/0.4813, allocations: 69.5 kB / 0.5988 GB, free: 11.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003567/0.4849, allocations: 1.661 MB / 0.6005 GB, free: 9.914 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007786/0.4857, allocations: 53.7 kB / 0.6005 GB, free: 9.855 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004305/0.4861, allocations: 0.5497 MB / 0.6011 GB, free: 9.297 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006262/0.4868, allocations: 0.4971 MB / 0.6015 GB, free: 8.793 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007926/0.4876, allocations: 0.5171 MB / 0.602 GB, free: 8.27 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.592e-05/0.4876, allocations: 301.1 kB / 0.6023 GB, free: 7.973 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001846/0.4895, allocations: 1.145 MB / 0.6034 GB, free: 6.824 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001897/0.4914, allocations: 1.36 MB / 0.6048 GB, free: 5.438 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003508/0.4949, allocations: 2.342 MB / 0.6071 GB, free: 3.059 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/0.4949, allocations: 0 / 0.6071 GB, free: 3.059 MB / 414.1 MB Notification: Performance of matching and sorting (n=348) (initialization): time 0.008251/0.5032, allocations: 4.082 MB / 0.6111 GB, free: 14.94 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.422e-05/0.5033, allocations: 7.281 kB / 0.6111 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.5033, allocations: 7.938 kB / 0.6111 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01045/0.5137, allocations: 2.827 MB / 0.6138 GB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002575/0.5164, allocations: 487.3 kB / 0.6143 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005758/0.5221, allocations: 2.519 MB / 0.6168 GB, free: 9.066 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003502/0.5257, allocations: 241.8 kB / 0.617 GB, free: 8.828 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005487/0.5263, allocations: 91.97 kB / 0.6171 GB, free: 8.738 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.00109/0.5274, allocations: 317.3 kB / 0.6174 GB, free: 8.418 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007072/0.5281, allocations: 169.8 kB / 0.6175 GB, free: 8.25 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01113/0.5392, allocations: 3.55 MB / 0.621 GB, free: 4.68 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.578e-05/0.5393, allocations: 15.94 kB / 0.621 GB, free: 4.664 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.535e-05/0.5393, allocations: 0 / 0.621 GB, free: 4.664 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.798e-05/0.5394, allocations: 7.969 kB / 0.621 GB, free: 4.656 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.01562/0.555, allocations: 5.654 MB / 0.6265 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-05/0.5551, allocations: 0 / 0.6265 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001122/0.5562, allocations: 167.8 kB / 0.6267 GB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005305/0.5616, allocations: 1.484 MB / 0.6282 GB, free: 13.19 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002155/0.5618, allocations: 31.98 kB / 0.6282 GB, free: 13.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01898/0.5808, allocations: 7.868 MB / 0.6359 GB, free: 5.141 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/0.5808, allocations: 3.984 kB / 0.6359 GB, free: 5.137 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0134/0.5942, allocations: 4.56 MB / 0.6403 GB, free: 0.5508 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001026/0.5953, allocations: 302.8 kB / 0.6406 GB, free: 240 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008144/0.5961, allocations: 24 kB / 0.6406 GB, free: 216 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002195/0.5984, allocations: 75.92 kB / 0.6407 GB, free: 140 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008193/0.5992, allocations: 197.5 kB / 0.6409 GB, free: 15.94 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001673/0.5994, allocations: 32 kB / 0.6409 GB, free: 15.91 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002054/0.6014, allocations: 1.098 MB / 0.642 GB, free: 14.82 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.6015, allocations: 0 / 0.642 GB, free: 14.82 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003121/0.6046, allocations: 0.5894 MB / 0.6426 GB, free: 14.23 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.000591/0.6052, allocations: 157.5 kB / 0.6427 GB, free: 14.07 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01004/0.6153, allocations: 3.043 MB / 0.6457 GB, free: 11.03 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.6153, allocations: 0 / 0.6457 GB, free: 11.03 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004866/0.6202, allocations: 1.527 MB / 0.6472 GB, free: 9.48 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002303/0.6225, allocations: 133.6 kB / 0.6473 GB, free: 9.348 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007783/0.6303, allocations: 4.017 MB / 0.6512 GB, free: 5.32 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009236/0.6313, allocations: 1.238 MB / 0.6524 GB, free: 4.051 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001154/0.6324, allocations: 159.2 kB / 0.6526 GB, free: 3.891 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007695/0.6332, allocations: 111.4 kB / 0.6527 GB, free: 3.781 MB / 462.1 MB Notification: Performance of SimCode: time 8.92e-07/0.6332, allocations: 0 / 0.6527 GB, free: 3.781 MB / 462.1 MB Notification: Performance of Templates: time 0.05442/0.6877, allocations: 29.78 MB / 0.6818 GB, free: 6.012 MB / 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 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe 2>&1)