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.001174/0.001174, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 222.9 MB / 239 MB, free: 4.699 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.001153/0.001153, allocations: 196.4 kB / 289.3 MB, free: 2.453 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4461/0.4461, allocations: 78.53 MB / 417.9 MB, free: 3.285 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 71.89 kB / 496.9 MB, free: 6.742 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1644, allocations: 68.18 MB / 0.5519 GB, free: 2.52 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system): time 0.2717/0.4361, allocations: 6.343 MB / 0.5581 GB, free: 36.02 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003955/0.4401, allocations: 2.13 MB / 0.5601 GB, free: 35.44 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006472/0.4408, allocations: 14.06 kB / 0.5602 GB, free: 35.44 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005711/0.4414, allocations: 186.5 kB / 0.5603 GB, free: 35.43 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002366/0.4438, allocations: 1.05 MB / 0.5614 GB, free: 35.21 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009367/0.4448, allocations: 443.6 kB / 0.5618 GB, free: 35.17 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001701/0.4465, allocations: 1.834 MB / 0.5636 GB, free: 35.07 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003145/0.4468, allocations: 206.8 kB / 0.5638 GB, free: 35.03 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006675/0.4475, allocations: 0.7053 MB / 0.5645 GB, free: 34.89 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000772/0.4483, allocations: 0.9567 MB / 0.5654 GB, free: 34.7 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001898/0.4485, allocations: 147 kB / 0.5655 GB, free: 34.7 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005328/0.449, allocations: 320.5 kB / 0.5658 GB, free: 34.69 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002406/0.4492, allocations: 374.4 kB / 0.5662 GB, free: 34.62 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004567/0.4497, allocations: 0.6878 MB / 0.5669 GB, free: 34.41 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001291/0.451, allocations: 1.704 MB / 0.5685 GB, free: 34.06 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.451, allocations: 1.75 kB / 0.5685 GB, free: 34.06 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.451, allocations: 0 / 0.5685 GB, free: 34.06 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.485e-05/0.451, allocations: 3.234 kB / 0.5685 GB, free: 34.06 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.01386/0.4649, allocations: 3.711 MB / 0.5722 GB, free: 33.16 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.465, allocations: 14.72 kB / 0.5722 GB, free: 33.16 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002778/0.4678, allocations: 497.9 kB / 0.5726 GB, free: 33.08 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001189/0.469, allocations: 0.9034 MB / 0.5735 GB, free: 32.69 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002398/0.4692, allocations: 230.3 kB / 0.5737 GB, free: 32.53 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001427/0.4694, allocations: 80.84 kB / 0.5738 GB, free: 32.53 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001655/0.471, allocations: 0.8889 MB / 0.5747 GB, free: 32.48 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/0.4711, allocations: 4 kB / 0.5747 GB, free: 32.47 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.771e-05/0.4711, allocations: 26.69 kB / 0.5747 GB, free: 32.47 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.577e-05/0.4712, allocations: 14.16 kB / 0.5747 GB, free: 32.47 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001909/0.4731, allocations: 0.9861 MB / 0.5757 GB, free: 32.46 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.00426/0.4773, allocations: 2.937 MB / 0.5786 GB, free: 31.37 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002514/0.4799, allocations: 1.095 MB / 0.5796 GB, free: 30.98 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001249/0.4811, allocations: 0.6584 MB / 0.5803 GB, free: 30.72 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001119/0.4813, allocations: 15.55 kB / 0.5803 GB, free: 30.72 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.4813, allocations: 50.56 kB / 0.5803 GB, free: 30.67 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 2.755e-06/0.4813, allocations: 0 / 0.5803 GB, free: 30.67 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.02683/0.5081, allocations: 6.482 MB / 0.5867 GB, free: 29.46 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.379e-05/0.5083, allocations: 66.12 kB / 0.5867 GB, free: 29.39 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002132/0.5104, allocations: 1.14 MB / 0.5878 GB, free: 28.89 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003402/0.5107, allocations: 50.02 kB / 0.5879 GB, free: 28.84 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002568/0.511, allocations: 390.3 kB / 0.5883 GB, free: 28.53 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003811/0.5114, allocations: 363.7 kB / 0.5886 GB, free: 28.25 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006694/0.5121, allocations: 368.6 kB / 0.589 GB, free: 28.08 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.497e-05/0.5121, allocations: 307.1 kB / 0.5893 GB, free: 27.78 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001875/0.514, allocations: 0.9033 MB / 0.5901 GB, free: 27.44 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001894/0.5159, allocations: 0.9368 MB / 0.5911 GB, free: 27.08 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003443/0.5194, allocations: 1.815 MB / 0.5928 GB, free: 26.26 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/0.5194, allocations: 1.656 kB / 0.5928 GB, free: 26.26 MB / 430.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.006909/0.5263, allocations: 3.042 MB / 0.5958 GB, free: 25.11 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.634e-05/0.5264, allocations: 7.312 kB / 0.5958 GB, free: 25.11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.5264, allocations: 0 / 0.5958 GB, free: 25.11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009251/0.5356, allocations: 2.278 MB / 0.598 GB, free: 24.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001849/0.5375, allocations: 321.7 kB / 0.5983 GB, free: 24.74 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005306/0.5428, allocations: 2.266 MB / 0.6006 GB, free: 23.61 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002381/0.5452, allocations: 200.4 kB / 0.6007 GB, free: 23.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000168/0.5454, allocations: 62.3 kB / 0.6008 GB, free: 23.48 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.0005248/0.546, allocations: 250.4 kB / 0.601 GB, free: 23.27 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002387/0.5462, allocations: 118.1 kB / 0.6012 GB, free: 23.21 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01074/0.5569, allocations: 3.297 MB / 0.6044 GB, free: 22.36 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.416e-05/0.557, allocations: 12.66 kB / 0.6044 GB, free: 22.36 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/0.557, allocations: 1.125 kB / 0.6044 GB, free: 22.36 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.132e-05/0.5571, allocations: 4.828 kB / 0.6044 GB, free: 22.36 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002059/0.5591, allocations: 1.209 MB / 0.6056 GB, free: 21.78 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.5591, allocations: 5.25 kB / 0.6056 GB, free: 21.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006831/0.5598, allocations: 110.1 kB / 0.6057 GB, free: 21.76 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005329/0.5652, allocations: 1.45 MB / 0.6071 GB, free: 21.4 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001341/0.5653, allocations: 18.5 kB / 0.6071 GB, free: 21.39 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01679/0.5821, allocations: 7.831 MB / 0.6148 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.5822, allocations: 1.875 kB / 0.6148 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0109/0.5931, allocations: 4.135 MB / 0.6188 GB, free: 10.75 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005883/0.5937, allocations: 227.4 kB / 0.619 GB, free: 10.5 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002141/0.5939, allocations: 24 kB / 0.619 GB, free: 10.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001263/0.5952, allocations: 79.91 kB / 0.6191 GB, free: 10.4 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005544/0.5958, allocations: 186.3 kB / 0.6193 GB, free: 10.22 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.666e-05/0.5958, allocations: 23.98 kB / 0.6193 GB, free: 10.2 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008754/0.5967, allocations: 0.7602 MB / 0.6201 GB, free: 9.43 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.31e-07/0.5967, allocations: 0 / 0.6201 GB, free: 9.43 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001226/0.598, allocations: 439.6 kB / 0.6205 GB, free: 9 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.0003001/0.5983, allocations: 143.6 kB / 0.6206 GB, free: 8.852 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006426/0.6047, allocations: 2.4 MB / 0.623 GB, free: 6.457 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.6047, allocations: 0 / 0.623 GB, free: 6.457 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003721/0.6085, allocations: 1.304 MB / 0.6242 GB, free: 5.141 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001229/0.6097, allocations: 94.91 kB / 0.6243 GB, free: 5.047 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004412/0.6141, allocations: 2.817 MB / 0.6271 GB, free: 2.281 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003721/0.6145, allocations: 1.063 MB / 0.6281 GB, free: 1.191 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005288/0.6151, allocations: 108.2 kB / 0.6282 GB, free: 1.082 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003135/0.6154, allocations: 75.42 kB / 0.6283 GB, free: 1.008 MB / 430.1 MB Notification: Performance of SimCode: time 1.513e-06/0.6154, allocations: 0 / 0.6283 GB, free: 1.008 MB / 430.1 MB Notification: Performance of Templates: time 0.0345/0.6499, allocations: 22.89 MB / 0.6506 GB, free: 10.31 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)