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.001206/0.001206, allocations: 104.1 kB / 16.35 MB, free: 6.336 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.385/1.385, allocations: 222.9 MB / 240 MB, free: 4.586 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.001525/0.001525, allocations: 196.4 kB / 290.3 MB, free: 2.309 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.458/0.458, allocations: 78.53 MB / 419 MB, free: 3.176 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 71.89 kB / 498.9 MB, free: 5.742 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1334, allocations: 68.18 MB / 0.5538 GB, free: 1.523 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system): time 0.2462/0.3796, allocations: 6.179 MB / 0.5598 GB, free: 36.22 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003944/0.3836, allocations: 2.12 MB / 0.5619 GB, free: 35.65 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006522/0.3843, allocations: 8.469 kB / 0.5619 GB, free: 35.65 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005495/0.3849, allocations: 238.9 kB / 0.5621 GB, free: 35.64 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002564/0.3875, allocations: 1.16 MB / 0.5632 GB, free: 35.42 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009709/0.3884, allocations: 485 kB / 0.5637 GB, free: 35.38 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001955/0.3904, allocations: 1.843 MB / 0.5655 GB, free: 35.19 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003271/0.3907, allocations: 203.5 kB / 0.5657 GB, free: 35.14 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007289/0.3915, allocations: 0.7084 MB / 0.5664 GB, free: 34.98 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008537/0.3923, allocations: 0.9543 MB / 0.5673 GB, free: 34.78 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001825/0.3925, allocations: 147.6 kB / 0.5675 GB, free: 34.78 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005135/0.3931, allocations: 315.1 kB / 0.5678 GB, free: 34.76 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002257/0.3933, allocations: 383.9 kB / 0.5681 GB, free: 34.68 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004471/0.3937, allocations: 0.684 MB / 0.5688 GB, free: 34.45 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001306/0.3951, allocations: 1.729 MB / 0.5705 GB, free: 34.08 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3951, allocations: 0 / 0.5705 GB, free: 34.08 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3951, allocations: 0.6562 kB / 0.5705 GB, free: 34.08 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.252e-05/0.3951, allocations: 0 / 0.5705 GB, free: 34.08 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.01379/0.4089, allocations: 3.703 MB / 0.5741 GB, free: 33.19 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.409, allocations: 10.81 kB / 0.5741 GB, free: 33.19 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002968/0.4119, allocations: 495.4 kB / 0.5746 GB, free: 33.11 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001295/0.4132, allocations: 0.915 MB / 0.5755 GB, free: 32.7 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002233/0.4135, allocations: 224.5 kB / 0.5757 GB, free: 32.54 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001478/0.4136, allocations: 87.19 kB / 0.5758 GB, free: 32.54 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001621/0.4153, allocations: 0.8889 MB / 0.5766 GB, free: 32.48 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.4153, allocations: 0 / 0.5766 GB, free: 32.48 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.369e-05/0.4154, allocations: 27.03 kB / 0.5767 GB, free: 32.48 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.4154, allocations: 13.69 kB / 0.5767 GB, free: 32.48 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001943/0.4173, allocations: 0.9862 MB / 0.5776 GB, free: 32.47 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.004231/0.4216, allocations: 2.923 MB / 0.5805 GB, free: 30.98 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002428/0.424, allocations: 1.097 MB / 0.5816 GB, free: 30.58 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001249/0.4253, allocations: 0.666 MB / 0.5822 GB, free: 30.32 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001108/0.4254, allocations: 19.02 kB / 0.5822 GB, free: 30.32 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/0.4254, allocations: 41.23 kB / 0.5823 GB, free: 30.27 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 2.765e-06/0.4255, allocations: 1.219 kB / 0.5823 GB, free: 30.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.02547/0.4509, allocations: 6.483 MB / 0.5886 GB, free: 29.04 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.791e-05/0.451, allocations: 67.5 kB / 0.5887 GB, free: 28.98 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001829/0.4528, allocations: 1.139 MB / 0.5898 GB, free: 28.47 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002683/0.4531, allocations: 54.58 kB / 0.5898 GB, free: 28.42 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002522/0.4534, allocations: 385.3 kB / 0.5902 GB, free: 28.12 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003304/0.4537, allocations: 362 kB / 0.5906 GB, free: 27.84 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006296/0.4544, allocations: 365.4 kB / 0.5909 GB, free: 27.68 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.52e-05/0.4544, allocations: 306.2 kB / 0.5912 GB, free: 27.38 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001848/0.4563, allocations: 0.9106 MB / 0.5921 GB, free: 27.02 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001873/0.4581, allocations: 0.9326 MB / 0.593 GB, free: 26.67 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003545/0.4617, allocations: 1.807 MB / 0.5948 GB, free: 25.86 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/0.4617, allocations: 2.406 kB / 0.5948 GB, free: 25.86 MB / 430.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.00674/0.4685, allocations: 3.048 MB / 0.5977 GB, free: 24.7 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/0.4685, allocations: 5.328 kB / 0.5977 GB, free: 24.7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.4686, allocations: 5.062 kB / 0.5977 GB, free: 24.69 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008555/0.4771, allocations: 2.271 MB / 0.6 GB, free: 24.36 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001718/0.4789, allocations: 323.7 kB / 0.6003 GB, free: 24.33 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004857/0.4837, allocations: 2.263 MB / 0.6025 GB, free: 23.2 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002152/0.4859, allocations: 200.6 kB / 0.6027 GB, free: 23.09 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001832/0.4861, allocations: 65.56 kB / 0.6027 GB, free: 23.07 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.00046/0.4866, allocations: 245.3 kB / 0.603 GB, free: 22.87 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002356/0.4868, allocations: 120.4 kB / 0.6031 GB, free: 22.8 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01033/0.4972, allocations: 3.294 MB / 0.6063 GB, free: 21.96 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.978e-05/0.4972, allocations: 13.56 kB / 0.6063 GB, free: 21.95 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/0.4972, allocations: 0 / 0.6063 GB, free: 21.95 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.501e-05/0.4973, allocations: 13 kB / 0.6063 GB, free: 21.95 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001947/0.4992, allocations: 1.212 MB / 0.6075 GB, free: 21.37 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-06/0.4992, allocations: 0 / 0.6075 GB, free: 21.37 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006985/0.4999, allocations: 112.2 kB / 0.6076 GB, free: 21.36 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004826/0.5048, allocations: 1.441 MB / 0.609 GB, free: 20.74 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000139/0.5049, allocations: 21.48 kB / 0.609 GB, free: 20.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01627/0.5212, allocations: 7.825 MB / 0.6167 GB, free: 14.08 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.5213, allocations: 1.5 kB / 0.6167 GB, free: 14.08 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01049/0.5318, allocations: 4.132 MB / 0.6207 GB, free: 9.926 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005212/0.5323, allocations: 231.4 kB / 0.6209 GB, free: 9.68 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001899/0.5325, allocations: 19.98 kB / 0.621 GB, free: 9.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001136/0.5337, allocations: 79.92 kB / 0.621 GB, free: 9.582 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000494/0.5342, allocations: 180.7 kB / 0.6212 GB, free: 9.406 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.976e-05/0.5342, allocations: 24 kB / 0.6212 GB, free: 9.383 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008551/0.5351, allocations: 0.7641 MB / 0.622 GB, free: 8.609 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.5351, allocations: 0 / 0.622 GB, free: 8.609 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00112/0.5362, allocations: 443.8 kB / 0.6224 GB, free: 8.176 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.0002491/0.5365, allocations: 139 kB / 0.6225 GB, free: 8.031 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005679/0.5422, allocations: 2.378 MB / 0.6249 GB, free: 5.66 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.5422, allocations: 3.938 kB / 0.6249 GB, free: 5.656 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003491/0.5457, allocations: 1.306 MB / 0.6261 GB, free: 4.34 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008694/0.5466, allocations: 89.17 kB / 0.6262 GB, free: 4.25 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003701/0.5503, allocations: 2.433 MB / 0.6286 GB, free: 1.867 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003329/0.5507, allocations: 1.055 MB / 0.6296 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000434/0.5511, allocations: 107.6 kB / 0.6297 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002881/0.5514, allocations: 75.42 kB / 0.6298 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of SimCode: time 6.21e-07/0.5514, allocations: 0 / 0.6298 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of Templates: time 0.03386/0.5853, allocations: 23.75 MB / 0.653 GB, free: 9.043 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 -s gbode -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe 2>&1)