Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_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_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.001392/0.001393, 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.432/1.432, allocations: 222.9 MB / 239.2 MB, free: 4.602 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.001255/0.001255, allocations: 188.5 kB / 289.5 MB, free: 2.324 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4665/0.4665, allocations: 78.52 MB / 418.2 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002149/0.002149, allocations: 79.88 kB / 497.4 MB, free: 6.395 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.189/0.1912, allocations: 68.18 MB / 0.5524 GB, free: 2.176 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system): time 0.288/0.4793, allocations: 6.17 MB / 0.5584 GB, free: 35.79 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00423/0.4836, allocations: 2.119 MB / 0.5605 GB, free: 35.22 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007505/0.4843, allocations: 7.5 kB / 0.5605 GB, free: 35.22 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006443/0.4851, allocations: 237.9 kB / 0.5607 GB, free: 35.21 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002816/0.4879, allocations: 1.166 MB / 0.5618 GB, free: 34.98 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001/0.4889, allocations: 485.7 kB / 0.5623 GB, free: 34.94 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001909/0.4908, allocations: 1.831 MB / 0.5641 GB, free: 34.79 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003261/0.4912, allocations: 210.1 kB / 0.5643 GB, free: 34.75 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008398/0.492, allocations: 0.7025 MB / 0.565 GB, free: 34.59 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001124/0.4931, allocations: 0.9516 MB / 0.5659 GB, free: 34.39 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002333/0.4934, allocations: 152 kB / 0.566 GB, free: 34.38 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006548/0.494, allocations: 318.3 kB / 0.5663 GB, free: 34.37 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002569/0.4943, allocations: 376.6 kB / 0.5667 GB, free: 34.29 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005271/0.4948, allocations: 0.6886 MB / 0.5674 GB, free: 34.06 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001459/0.4963, allocations: 1.699 MB / 0.569 GB, free: 33.7 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.4963, allocations: 0 / 0.569 GB, free: 33.7 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.995e-06/0.4963, allocations: 2.031 kB / 0.569 GB, free: 33.7 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.102e-05/0.4964, allocations: 3.938 kB / 0.569 GB, free: 33.69 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.01523/0.5116, allocations: 3.708 MB / 0.5727 GB, free: 32.8 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.697e-05/0.5117, allocations: 7.969 kB / 0.5727 GB, free: 32.8 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003155/0.5149, allocations: 0.4932 MB / 0.5732 GB, free: 32.72 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001472/0.5164, allocations: 0.8977 MB / 0.574 GB, free: 32.32 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000262/0.5166, allocations: 230.6 kB / 0.5742 GB, free: 32.16 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001587/0.5168, allocations: 85.06 kB / 0.5743 GB, free: 32.16 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001809/0.5186, allocations: 0.8941 MB / 0.5752 GB, free: 32.1 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/0.5186, allocations: 0 / 0.5752 GB, free: 32.1 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-05/0.5187, allocations: 25.72 kB / 0.5752 GB, free: 32.1 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.72e-05/0.5188, allocations: 14.56 kB / 0.5752 GB, free: 32.1 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002034/0.5208, allocations: 0.9873 MB / 0.5762 GB, free: 32.08 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.004553/0.5254, allocations: 2.941 MB / 0.5791 GB, free: 30.98 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002921/0.5283, allocations: 1.088 MB / 0.5801 GB, free: 30.59 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001822/0.5301, allocations: 0.6689 MB / 0.5808 GB, free: 30.33 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000102/0.5303, allocations: 15.92 kB / 0.5808 GB, free: 30.32 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.5303, allocations: 43 kB / 0.5808 GB, free: 30.28 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 3.105e-06/0.5303, allocations: 0 / 0.5808 GB, free: 30.28 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.02792/0.5582, allocations: 6.486 MB / 0.5872 GB, free: 29.05 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/0.5583, allocations: 61.69 kB / 0.5872 GB, free: 28.99 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002284/0.5606, allocations: 1.144 MB / 0.5884 GB, free: 28.48 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004146/0.5611, allocations: 46.77 kB / 0.5884 GB, free: 28.43 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003116/0.5614, allocations: 389.5 kB / 0.5888 GB, free: 28.13 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003988/0.5618, allocations: 363.8 kB / 0.5891 GB, free: 27.85 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006922/0.5625, allocations: 365 kB / 0.5895 GB, free: 27.68 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.389e-05/0.5625, allocations: 305.9 kB / 0.5898 GB, free: 27.38 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002061/0.5646, allocations: 0.9077 MB / 0.5906 GB, free: 27.04 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002069/0.5667, allocations: 0.939 MB / 0.5916 GB, free: 26.68 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00378/0.5705, allocations: 1.811 MB / 0.5933 GB, free: 25.86 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/0.5705, allocations: 1.344 kB / 0.5933 GB, free: 25.86 MB / 430.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.007655/0.5782, allocations: 3.04 MB / 0.5963 GB, free: 24.71 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.115e-05/0.5782, allocations: 6.359 kB / 0.5963 GB, free: 24.71 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/0.5783, allocations: 0.5 kB / 0.5963 GB, free: 24.71 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009726/0.588, allocations: 2.285 MB / 0.5985 GB, free: 24.37 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001845/0.5899, allocations: 323.3 kB / 0.5988 GB, free: 24.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005404/0.5953, allocations: 2.261 MB / 0.6011 GB, free: 23.2 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002414/0.5977, allocations: 205.5 kB / 0.6013 GB, free: 23.09 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000169/0.5979, allocations: 58.22 kB / 0.6013 GB, free: 23.08 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.0005426/0.5985, allocations: 249.9 kB / 0.6015 GB, free: 22.87 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002774/0.5987, allocations: 119.9 kB / 0.6017 GB, free: 22.8 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01155/0.6103, allocations: 3.295 MB / 0.6049 GB, free: 21.96 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-05/0.6104, allocations: 17.31 kB / 0.6049 GB, free: 21.95 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.6104, allocations: 1.922 kB / 0.6049 GB, free: 21.95 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-05/0.6104, allocations: 4.688 kB / 0.6049 GB, free: 21.95 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002128/0.6125, allocations: 1.212 MB / 0.6061 GB, free: 21.37 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.6126, allocations: 0 / 0.6061 GB, free: 21.37 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007306/0.6133, allocations: 115.3 kB / 0.6062 GB, free: 21.36 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005468/0.6188, allocations: 1.448 MB / 0.6076 GB, free: 20.93 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002075/0.619, allocations: 19.38 kB / 0.6076 GB, free: 20.92 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01789/0.6369, allocations: 7.829 MB / 0.6153 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.637, allocations: 0 / 0.6153 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01159/0.6486, allocations: 4.131 MB / 0.6193 GB, free: 10.38 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006196/0.6493, allocations: 232.5 kB / 0.6195 GB, free: 10.14 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002242/0.6495, allocations: 20 kB / 0.6195 GB, free: 10.12 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001189/0.6507, allocations: 84.78 kB / 0.6196 GB, free: 10.04 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005419/0.6512, allocations: 180.7 kB / 0.6198 GB, free: 9.859 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.684e-05/0.6513, allocations: 24.8 kB / 0.6198 GB, free: 9.836 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008958/0.6522, allocations: 0.7641 MB / 0.6206 GB, free: 9.062 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6522, allocations: 0 / 0.6206 GB, free: 9.062 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001296/0.6535, allocations: 443.7 kB / 0.621 GB, free: 8.629 MB / 430.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.0003035/0.6538, allocations: 131.1 kB / 0.6211 GB, free: 8.492 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006905/0.6607, allocations: 2.4 MB / 0.6235 GB, free: 6.098 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/0.6608, allocations: 5.703 kB / 0.6235 GB, free: 6.094 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00379/0.6646, allocations: 1.315 MB / 0.6248 GB, free: 4.77 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001175/0.6658, allocations: 81.41 kB / 0.6248 GB, free: 4.688 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004584/0.6704, allocations: 2.468 MB / 0.6272 GB, free: 2.27 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004166/0.6708, allocations: 1.059 MB / 0.6283 GB, free: 1.184 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005497/0.6714, allocations: 103.6 kB / 0.6284 GB, free: 1.078 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002791/0.6717, allocations: 75.42 kB / 0.6284 GB, free: 1.004 MB / 430.1 MB Notification: Performance of SimCode: time 1.182e-06/0.6717, allocations: 0 / 0.6284 GB, free: 1.004 MB / 430.1 MB Notification: Performance of Templates: time 0.03787/0.7095, allocations: 23.76 MB / 0.6516 GB, free: 9.426 MB / 462.1 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.makefile (rm -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.sim & ./OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe 2>&1)