Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_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.Aggregated_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_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_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07731/0.07731, allocations: 12.6 MB / 28.9 MB, free: 0.6289 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.001132/0.001132, allocations: 111.5 kB / 32.5 MB, free: 3.566 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.241/1.241, allocations: 205.1 MB / 241.1 MB, free: 12.37 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.001307/0.001307, allocations: 184.5 kB / 291.4 MB, free: 10.95 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4106/0.4106, allocations: 78.52 MB / 420 MB, free: 10.73 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.00261/0.00261, allocations: 136.6 kB / 0.5565 GB, free: 17.32 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1179, allocations: 68.13 MB / 0.623 GB, free: 13.16 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system): time 0.006672/0.1246, allocations: 6.187 MB / 0.6291 GB, free: 6.941 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004091/0.1287, allocations: 2.169 MB / 0.6312 GB, free: 4.766 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006746/0.1295, allocations: 12 kB / 0.6312 GB, free: 4.754 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005436/0.1301, allocations: 234.1 kB / 0.6314 GB, free: 4.523 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002655/0.1327, allocations: 1.164 MB / 0.6326 GB, free: 3.367 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009603/0.1337, allocations: 487.1 kB / 0.633 GB, free: 2.895 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001915/0.1356, allocations: 1.844 MB / 0.6348 GB, free: 1.047 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003417/0.136, allocations: 207.3 kB / 0.635 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007865/0.1368, allocations: 0.7123 MB / 0.6357 GB, free: 116 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009582/0.1377, allocations: 0.9573 MB / 0.6367 GB, free: 15.15 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002007/0.1379, allocations: 148 kB / 0.6368 GB, free: 15.01 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005571/0.1385, allocations: 311.8 kB / 0.6371 GB, free: 14.7 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002798/0.1388, allocations: 382.6 kB / 0.6375 GB, free: 14.33 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005397/0.1394, allocations: 0.6878 MB / 0.6381 GB, free: 13.64 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001516/0.1409, allocations: 1.721 MB / 0.6398 GB, free: 11.91 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.1409, allocations: 0 / 0.6398 GB, free: 11.91 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1409, allocations: 0 / 0.6398 GB, free: 11.91 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.471e-05/0.1409, allocations: 0 / 0.6398 GB, free: 11.91 MB / 462.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.01426/0.1552, allocations: 3.707 MB / 0.6434 GB, free: 8.148 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.1552, allocations: 15.98 kB / 0.6434 GB, free: 8.133 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002914/0.1582, allocations: 0.495 MB / 0.6439 GB, free: 7.637 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001377/0.1596, allocations: 0.8948 MB / 0.6448 GB, free: 6.688 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002664/0.1598, allocations: 226.2 kB / 0.645 GB, free: 6.434 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001629/0.16, allocations: 84 kB / 0.6451 GB, free: 6.352 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001834/0.1619, allocations: 0.8887 MB / 0.646 GB, free: 5.457 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.1619, allocations: 0 / 0.646 GB, free: 5.457 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.194e-05/0.162, allocations: 27.94 kB / 0.646 GB, free: 5.43 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.527e-05/0.162, allocations: 16 kB / 0.646 GB, free: 5.414 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002138/0.1641, allocations: 0.9928 MB / 0.647 GB, free: 4.422 MB / 462.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.005143/0.1693, allocations: 2.915 MB / 0.6498 GB, free: 1.375 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002766/0.1721, allocations: 1.097 MB / 0.6509 GB, free: 276 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001328/0.1734, allocations: 0.6597 MB / 0.6515 GB, free: 15.61 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.139e-05/0.1735, allocations: 20.97 kB / 0.6516 GB, free: 15.58 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.937e-05/0.1736, allocations: 43.5 kB / 0.6516 GB, free: 15.53 MB / 478.1 MB Notification: Performance of pre-optimization done (n=94): time 2.835e-06/0.1736, allocations: 8 kB / 0.6516 GB, free: 15.52 MB / 478.1 MB Notification: Performance of matching and sorting (n=94): time 0.02584/0.1994, allocations: 6.477 MB / 0.6579 GB, free: 9.012 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.822e-05/0.1995, allocations: 60.41 kB / 0.658 GB, free: 8.938 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001772/0.2013, allocations: 1.137 MB / 0.6591 GB, free: 7.781 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003118/0.2016, allocations: 53.7 kB / 0.6592 GB, free: 7.723 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003421/0.202, allocations: 389.9 kB / 0.6595 GB, free: 7.336 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004692/0.2025, allocations: 362.9 kB / 0.6599 GB, free: 6.977 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000793/0.2033, allocations: 371.2 kB / 0.6602 GB, free: 6.605 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.874e-05/0.2034, allocations: 309.1 kB / 0.6605 GB, free: 6.301 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00189/0.2053, allocations: 0.9058 MB / 0.6614 GB, free: 5.395 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001882/0.2071, allocations: 0.9351 MB / 0.6623 GB, free: 4.461 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003647/0.2108, allocations: 1.809 MB / 0.6641 GB, free: 2.652 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-05/0.2108, allocations: 7.938 kB / 0.6641 GB, free: 2.645 MB / 478.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.006995/0.2178, allocations: 3.04 MB / 0.6671 GB, free: 15.59 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.043e-05/0.2179, allocations: 4 kB / 0.6671 GB, free: 15.58 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.2179, allocations: 4 kB / 0.6671 GB, free: 15.58 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008805/0.2267, allocations: 2.276 MB / 0.6693 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001615/0.2284, allocations: 319.5 kB / 0.6696 GB, free: 12.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005376/0.2338, allocations: 2.276 MB / 0.6718 GB, free: 10.69 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002237/0.2361, allocations: 198.5 kB / 0.672 GB, free: 10.49 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003003/0.2364, allocations: 59.98 kB / 0.6721 GB, free: 10.43 MB / 494.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.0006336/0.237, allocations: 245.5 kB / 0.6723 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003471/0.2374, allocations: 122.4 kB / 0.6724 GB, free: 10.06 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01065/0.248, allocations: 3.293 MB / 0.6756 GB, free: 6.762 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.879e-05/0.2481, allocations: 15.94 kB / 0.6756 GB, free: 6.746 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/0.2481, allocations: 3.984 kB / 0.6756 GB, free: 6.742 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-05/0.2481, allocations: 3.984 kB / 0.6757 GB, free: 6.738 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001916/0.2501, allocations: 1.21 MB / 0.6768 GB, free: 5.477 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.638e-06/0.2501, allocations: 0 / 0.6768 GB, free: 5.477 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007115/0.2508, allocations: 111.8 kB / 0.6769 GB, free: 5.367 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005326/0.2561, allocations: 1.446 MB / 0.6784 GB, free: 3.918 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001872/0.2564, allocations: 19.98 kB / 0.6784 GB, free: 3.898 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2585/0.5149, allocations: 7.807 MB / 0.686 GB, free: 53.73 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.5149, allocations: 2.062 kB / 0.686 GB, free: 53.73 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01302/0.528, allocations: 4.134 MB / 0.69 GB, free: 52.64 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004711/0.5285, allocations: 226.8 kB / 0.6903 GB, free: 52.49 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002047/0.5287, allocations: 21.22 kB / 0.6903 GB, free: 52.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001212/0.5299, allocations: 85.39 kB / 0.6904 GB, free: 52.46 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006093/0.5305, allocations: 179 kB / 0.6905 GB, free: 52.42 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-05/0.5306, allocations: 27.94 kB / 0.6905 GB, free: 52.41 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001116/0.5317, allocations: 0.7637 MB / 0.6913 GB, free: 52.07 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5317, allocations: 0 / 0.6913 GB, free: 52.07 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001439/0.5332, allocations: 439.6 kB / 0.6917 GB, free: 52.02 MB / 494.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.00031/0.5335, allocations: 144 kB / 0.6919 GB, free: 51.91 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007177/0.5407, allocations: 2.368 MB / 0.6942 GB, free: 51.18 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.5407, allocations: 3.781 kB / 0.6942 GB, free: 51.18 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004132/0.5449, allocations: 1.313 MB / 0.6955 GB, free: 50.7 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000917/0.5458, allocations: 89.03 kB / 0.6955 GB, free: 50.64 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004177/0.55, allocations: 2.477 MB / 0.698 GB, free: 49.24 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005258/0.5505, allocations: 1.06 MB / 0.699 GB, free: 48.52 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000439/0.551, allocations: 75.97 kB / 0.6991 GB, free: 48.51 MB / 494.1 MB Notification: Performance of SimCode: time 1.252e-06/0.551, allocations: 0 / 0.6991 GB, free: 48.51 MB / 494.1 MB Notification: Performance of Templates: time 0.02335/0.5743, allocations: 19.33 MB / 0.7179 GB, free: 38.45 MB / 494.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe 2>&1)