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.001733/0.001733, allocations: 113.5 kB / 16.37 MB, free: 6.012 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.485/1.485, allocations: 222.9 MB / 240 MB, free: 4.41 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.001895/0.001895, allocations: 192.5 kB / 290.3 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.533/0.533, allocations: 78.53 MB / 419 MB, free: 3.113 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 83.88 kB / 498.9 MB, free: 5.656 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1632, allocations: 68.18 MB / 0.5538 GB, free: 1.441 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system): time 0.2864/0.4497, allocations: 6.175 MB / 0.5598 GB, free: 36 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004652/0.4544, allocations: 2.12 MB / 0.5619 GB, free: 35.43 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009385/0.4553, allocations: 8.281 kB / 0.5619 GB, free: 35.43 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006477/0.456, allocations: 232 kB / 0.5621 GB, free: 35.42 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003049/0.4591, allocations: 1.169 MB / 0.5633 GB, free: 35.19 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001098/0.4602, allocations: 479.2 kB / 0.5637 GB, free: 35.16 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002033/0.4622, allocations: 1.849 MB / 0.5655 GB, free: 34.98 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003428/0.4626, allocations: 207.6 kB / 0.5657 GB, free: 34.94 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009364/0.4635, allocations: 0.7083 MB / 0.5664 GB, free: 34.77 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001248/0.4648, allocations: 0.9495 MB / 0.5673 GB, free: 34.57 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003058/0.4651, allocations: 147.4 kB / 0.5675 GB, free: 34.57 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008673/0.466, allocations: 313.6 kB / 0.5678 GB, free: 34.56 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003544/0.4664, allocations: 380.5 kB / 0.5681 GB, free: 34.48 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000712/0.4671, allocations: 0.6936 MB / 0.5688 GB, free: 34.24 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00182/0.4689, allocations: 1.72 MB / 0.5705 GB, free: 33.88 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.4689, allocations: 0 / 0.5705 GB, free: 33.88 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.4689, allocations: 0 / 0.5705 GB, free: 33.88 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.527e-05/0.469, allocations: 1.031 kB / 0.5705 GB, free: 33.88 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.01413/0.4831, allocations: 3.714 MB / 0.5741 GB, free: 32.98 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.4832, allocations: 10.38 kB / 0.5741 GB, free: 32.98 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002915/0.4861, allocations: 495.7 kB / 0.5746 GB, free: 32.9 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001415/0.4875, allocations: 0.8979 MB / 0.5755 GB, free: 32.5 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002426/0.4878, allocations: 234.7 kB / 0.5757 GB, free: 32.34 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001593/0.4879, allocations: 79.78 kB / 0.5758 GB, free: 32.34 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001776/0.4897, allocations: 0.8886 MB / 0.5766 GB, free: 32.29 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.044e-05/0.4898, allocations: 0 / 0.5766 GB, free: 32.29 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.705e-05/0.4898, allocations: 25.53 kB / 0.5767 GB, free: 32.29 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.499e-05/0.4899, allocations: 17.88 kB / 0.5767 GB, free: 32.28 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002301/0.4922, allocations: 0.9906 MB / 0.5777 GB, free: 32.27 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.006068/0.4983, allocations: 2.926 MB / 0.5805 GB, free: 30.84 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002546/0.5008, allocations: 1.091 MB / 0.5816 GB, free: 30.45 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001326/0.5022, allocations: 0.6608 MB / 0.5822 GB, free: 30.19 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000116/0.5023, allocations: 23.41 kB / 0.5822 GB, free: 30.18 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/0.5023, allocations: 43.38 kB / 0.5823 GB, free: 30.14 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 4.218e-06/0.5023, allocations: 0 / 0.5823 GB, free: 30.14 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.02651/0.5289, allocations: 6.491 MB / 0.5886 GB, free: 28.9 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.303e-05/0.529, allocations: 61.16 kB / 0.5887 GB, free: 28.84 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002791/0.5318, allocations: 1.139 MB / 0.5898 GB, free: 28.33 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003647/0.5321, allocations: 50.7 kB / 0.5898 GB, free: 28.28 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004665/0.5326, allocations: 390.5 kB / 0.5902 GB, free: 27.98 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005908/0.5332, allocations: 364 kB / 0.5906 GB, free: 27.7 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001556/0.5348, allocations: 366.8 kB / 0.5909 GB, free: 27.53 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.391e-05/0.5349, allocations: 309.1 kB / 0.5912 GB, free: 27.23 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00226/0.5372, allocations: 0.9034 MB / 0.5921 GB, free: 26.88 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002254/0.5394, allocations: 0.9361 MB / 0.593 GB, free: 26.52 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003737/0.5432, allocations: 1.812 MB / 0.5948 GB, free: 25.71 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.5432, allocations: 0 / 0.5948 GB, free: 25.71 MB / 430.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.007909/0.5511, allocations: 3.047 MB / 0.5978 GB, free: 24.55 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.858e-05/0.5512, allocations: 4.625 kB / 0.5978 GB, free: 24.55 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/0.5512, allocations: 1.125 kB / 0.5978 GB, free: 24.55 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00994/0.5612, allocations: 2.273 MB / 0.6 GB, free: 24.22 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00213/0.5633, allocations: 321.3 kB / 0.6003 GB, free: 24.19 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005668/0.569, allocations: 2.26 MB / 0.6025 GB, free: 23.06 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002426/0.5715, allocations: 203.5 kB / 0.6027 GB, free: 22.95 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001923/0.5717, allocations: 62.41 kB / 0.6027 GB, free: 22.94 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.0005678/0.5723, allocations: 249.5 kB / 0.603 GB, free: 22.73 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002685/0.5725, allocations: 119.2 kB / 0.6031 GB, free: 22.66 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.011/0.5835, allocations: 3.297 MB / 0.6063 GB, free: 21.81 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.499e-05/0.5836, allocations: 15.38 kB / 0.6063 GB, free: 21.81 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.487e-06/0.5836, allocations: 0 / 0.6063 GB, free: 21.81 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.854e-05/0.5837, allocations: 4.922 kB / 0.6063 GB, free: 21.81 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002306/0.586, allocations: 1.208 MB / 0.6075 GB, free: 21.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.586, allocations: 1.281 kB / 0.6075 GB, free: 21.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007115/0.5867, allocations: 115.6 kB / 0.6076 GB, free: 21.21 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004899/0.5916, allocations: 1.44 MB / 0.609 GB, free: 20.61 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001576/0.5918, allocations: 27.02 kB / 0.6091 GB, free: 20.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01639/0.6082, allocations: 7.817 MB / 0.6167 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.6083, allocations: 8.609 kB / 0.6167 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01044/0.6187, allocations: 4.127 MB / 0.6207 GB, free: 9.848 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006053/0.6194, allocations: 231.4 kB / 0.6209 GB, free: 9.602 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001858/0.6196, allocations: 21.72 kB / 0.621 GB, free: 9.582 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001113/0.6207, allocations: 87.91 kB / 0.6211 GB, free: 9.496 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005714/0.6213, allocations: 172.8 kB / 0.6212 GB, free: 9.328 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.27e-05/0.6213, allocations: 28 kB / 0.6212 GB, free: 9.301 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000931/0.6223, allocations: 0.7563 MB / 0.622 GB, free: 8.535 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6223, allocations: 0 / 0.622 GB, free: 8.535 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001176/0.6235, allocations: 443.7 kB / 0.6224 GB, free: 8.102 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.0002857/0.6238, allocations: 147.7 kB / 0.6225 GB, free: 7.949 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005953/0.6297, allocations: 2.369 MB / 0.6249 GB, free: 5.586 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.6297, allocations: 3.938 kB / 0.6249 GB, free: 5.582 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003455/0.6332, allocations: 1.314 MB / 0.6261 GB, free: 4.262 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009285/0.6342, allocations: 85.34 kB / 0.6262 GB, free: 4.176 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003757/0.6379, allocations: 2.432 MB / 0.6286 GB, free: 1.797 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003677/0.6383, allocations: 1.059 MB / 0.6296 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004171/0.6387, allocations: 107.6 kB / 0.6297 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002793/0.639, allocations: 75.42 kB / 0.6298 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of SimCode: time 9.92e-07/0.639, allocations: 112 / 0.6298 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of Templates: time 0.03824/0.6773, allocations: 23.75 MB / 0.653 GB, free: 8.961 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 cvode -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe 2>&1)