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.005581/0.005581, allocations: 106.3 kB / 15.74 MB, free: 6.008 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.337/1.337, allocations: 222.9 MB / 239.4 MB, free: 4.523 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.00127/0.00127, allocations: 188.5 kB / 289.7 MB, free: 2.238 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4743/0.4743, allocations: 78.53 MB / 418.4 MB, free: 3.211 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001657/0.001657, allocations: 80.14 kB / 0.5536 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3261, allocations: 68.18 MB / 0.6202 GB, free: 9.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system): time 0.005269/0.3314, allocations: 6.182 MB / 0.6262 GB, free: 4.012 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003599/0.335, allocations: 2.11 MB / 0.6283 GB, free: 1.898 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006013/0.3357, allocations: 12 kB / 0.6283 GB, free: 1.887 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004913/0.3362, allocations: 234.1 kB / 0.6285 GB, free: 1.656 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002246/0.3384, allocations: 1.172 MB / 0.6296 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008107/0.3393, allocations: 479.8 kB / 0.6301 GB, free: 28 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001921/0.3412, allocations: 1.864 MB / 0.6319 GB, free: 14.16 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003241/0.3415, allocations: 203.4 kB / 0.6321 GB, free: 13.94 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007617/0.3423, allocations: 0.7045 MB / 0.6328 GB, free: 13.23 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001038/0.3434, allocations: 0.9573 MB / 0.6337 GB, free: 12.27 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002019/0.3436, allocations: 144 kB / 0.6339 GB, free: 12.13 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006018/0.3442, allocations: 315.8 kB / 0.6342 GB, free: 11.82 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003016/0.3445, allocations: 382.6 kB / 0.6345 GB, free: 11.45 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005556/0.3451, allocations: 0.6839 MB / 0.6352 GB, free: 10.76 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002087/0.3471, allocations: 1.722 MB / 0.6369 GB, free: 9.039 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3472, allocations: 0 / 0.6369 GB, free: 9.039 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3472, allocations: 0 / 0.6369 GB, free: 9.039 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.373e-05/0.3472, allocations: 4 kB / 0.6369 GB, free: 9.035 MB / 446.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.01477/0.362, allocations: 3.711 MB / 0.6405 GB, free: 5.262 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.362, allocations: 8.031 kB / 0.6405 GB, free: 5.254 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003317/0.3654, allocations: 498.9 kB / 0.641 GB, free: 4.766 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001879/0.3673, allocations: 0.8986 MB / 0.6419 GB, free: 3.812 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003277/0.3676, allocations: 234.2 kB / 0.6421 GB, free: 3.551 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002714/0.3679, allocations: 76 kB / 0.6422 GB, free: 3.477 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002039/0.37, allocations: 0.8887 MB / 0.643 GB, free: 2.582 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/0.37, allocations: 0 / 0.643 GB, free: 2.582 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.558e-05/0.3701, allocations: 24 kB / 0.6431 GB, free: 2.559 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.476e-05/0.3701, allocations: 19.94 kB / 0.6431 GB, free: 2.539 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002289/0.3724, allocations: 0.9967 MB / 0.6441 GB, free: 1.543 MB / 446.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.00545/0.3779, allocations: 2.919 MB / 0.6469 GB, free: 14.5 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002754/0.3806, allocations: 1.093 MB / 0.648 GB, free: 13.39 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001348/0.382, allocations: 0.6597 MB / 0.6486 GB, free: 12.73 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001231/0.3821, allocations: 16.98 kB / 0.6486 GB, free: 12.72 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.432e-05/0.3822, allocations: 51.48 kB / 0.6487 GB, free: 12.66 MB / 462.1 MB Notification: Performance of pre-optimization done (n=94): time 2.925e-06/0.3822, allocations: 4 kB / 0.6487 GB, free: 12.66 MB / 462.1 MB Notification: Performance of matching and sorting (n=94): time 0.02549/0.4077, allocations: 6.477 MB / 0.655 GB, free: 6.137 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.473e-05/0.4078, allocations: 64.41 kB / 0.6551 GB, free: 6.062 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001893/0.4097, allocations: 1.136 MB / 0.6562 GB, free: 4.906 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002237/0.4099, allocations: 49.7 kB / 0.6562 GB, free: 4.852 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000376/0.4103, allocations: 393.9 kB / 0.6566 GB, free: 4.461 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004437/0.4108, allocations: 359 kB / 0.657 GB, free: 4.105 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008703/0.4116, allocations: 371.2 kB / 0.6573 GB, free: 3.734 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.573e-05/0.4117, allocations: 305.1 kB / 0.6576 GB, free: 3.434 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001935/0.4137, allocations: 0.9058 MB / 0.6585 GB, free: 2.527 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001956/0.4157, allocations: 0.9351 MB / 0.6594 GB, free: 1.594 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003769/0.4194, allocations: 1.817 MB / 0.6612 GB, free: 15.77 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.4195, allocations: 0 / 0.6612 GB, free: 15.77 MB / 478.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.00702/0.4265, allocations: 3.036 MB / 0.6641 GB, free: 12.73 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/0.4265, allocations: 4 kB / 0.6641 GB, free: 12.73 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.4266, allocations: 8 kB / 0.6641 GB, free: 12.72 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00868/0.4352, allocations: 2.272 MB / 0.6664 GB, free: 10.44 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001676/0.4369, allocations: 323.5 kB / 0.6667 GB, free: 10.12 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005357/0.4423, allocations: 2.265 MB / 0.6689 GB, free: 7.832 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002263/0.4446, allocations: 198.4 kB / 0.6691 GB, free: 7.637 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003068/0.445, allocations: 71.97 kB / 0.6691 GB, free: 7.566 MB / 478.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.0006571/0.4456, allocations: 241.5 kB / 0.6694 GB, free: 7.32 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003882/0.446, allocations: 122.4 kB / 0.6695 GB, free: 7.199 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01021/0.4562, allocations: 3.297 MB / 0.6727 GB, free: 3.891 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.905e-05/0.4563, allocations: 11.94 kB / 0.6727 GB, free: 3.879 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/0.4563, allocations: 0 / 0.6727 GB, free: 3.879 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.793e-05/0.4563, allocations: 3.984 kB / 0.6727 GB, free: 3.875 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001939/0.4583, allocations: 1.218 MB / 0.6739 GB, free: 2.609 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.577e-06/0.4583, allocations: 0 / 0.6739 GB, free: 2.609 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007412/0.4591, allocations: 111.8 kB / 0.674 GB, free: 2.5 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005095/0.4642, allocations: 1.45 MB / 0.6754 GB, free: 1.047 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000144/0.4643, allocations: 19.94 kB / 0.6755 GB, free: 1.027 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01806/0.4824, allocations: 7.815 MB / 0.6831 GB, free: 9.066 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.4824, allocations: 0 / 0.6831 GB, free: 9.066 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01187/0.4943, allocations: 4.139 MB / 0.6871 GB, free: 4.906 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004856/0.4948, allocations: 231.4 kB / 0.6873 GB, free: 4.66 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001697/0.495, allocations: 16 kB / 0.6874 GB, free: 4.645 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001127/0.4962, allocations: 83.91 kB / 0.6874 GB, free: 4.562 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005358/0.4967, allocations: 176.8 kB / 0.6876 GB, free: 4.391 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.801e-05/0.4968, allocations: 31.98 kB / 0.6876 GB, free: 4.359 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001021/0.4978, allocations: 0.7641 MB / 0.6884 GB, free: 3.586 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4978, allocations: 0 / 0.6884 GB, free: 3.586 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001143/0.499, allocations: 435.7 kB / 0.6888 GB, free: 3.16 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.0002626/0.4993, allocations: 143.1 kB / 0.6889 GB, free: 3.008 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006454/0.5057, allocations: 2.371 MB / 0.6913 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.5058, allocations: 0 / 0.6913 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003857/0.5096, allocations: 1.31 MB / 0.6925 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009174/0.5106, allocations: 84.3 kB / 0.6926 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004553/0.5151, allocations: 2.442 MB / 0.695 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006033/0.5157, allocations: 1.057 MB / 0.696 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004593/0.5162, allocations: 103.6 kB / 0.6961 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002986/0.5165, allocations: 75.42 kB / 0.6962 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of SimCode: time 7.92e-07/0.5165, allocations: 0 / 0.6962 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of Templates: time 0.03815/0.5547, allocations: 23.98 MB / 0.7196 GB, free: 3.5 MB / 0.5137 GB 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)