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.005625/0.00563, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.33/1.33, allocations: 222.9 MB / 239.4 MB, free: 4.551 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.001212/0.001212, allocations: 184.5 kB / 289.7 MB, free: 2.27 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4607/0.4607, allocations: 78.52 MB / 418.4 MB, free: 3.094 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 71.89 kB / 0.5536 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3362/0.3376, allocations: 68.17 MB / 0.6202 GB, free: 9.684 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system): time 0.004968/0.3426, allocations: 6.189 MB / 0.6262 GB, free: 4.008 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003142/0.3458, allocations: 2.114 MB / 0.6283 GB, free: 1.891 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004758/0.3463, allocations: 8 kB / 0.6283 GB, free: 1.883 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004502/0.3467, allocations: 230.1 kB / 0.6285 GB, free: 1.656 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002219/0.349, allocations: 1.173 MB / 0.6296 GB, free: 500 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007844/0.3498, allocations: 483.9 kB / 0.6301 GB, free: 20 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001994/0.3518, allocations: 1.855 MB / 0.6319 GB, free: 14.16 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000365/0.3522, allocations: 203.4 kB / 0.6321 GB, free: 13.95 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008082/0.353, allocations: 0.7122 MB / 0.6328 GB, free: 13.23 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001031/0.354, allocations: 0.9457 MB / 0.6337 GB, free: 12.28 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000215/0.3542, allocations: 148 kB / 0.6339 GB, free: 12.14 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005723/0.3548, allocations: 315.8 kB / 0.6342 GB, free: 11.83 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003054/0.3551, allocations: 378.6 kB / 0.6345 GB, free: 11.46 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005926/0.3557, allocations: 0.6877 MB / 0.6352 GB, free: 10.77 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001854/0.3576, allocations: 1.733 MB / 0.6369 GB, free: 9.031 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.3576, allocations: 4 kB / 0.6369 GB, free: 9.027 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3576, allocations: 0 / 0.6369 GB, free: 9.027 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.58e-05/0.3576, allocations: 0 / 0.6369 GB, free: 9.027 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.01464/0.3723, allocations: 3.747 MB / 0.6406 GB, free: 5.219 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.3724, allocations: 12.03 kB / 0.6406 GB, free: 5.207 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00298/0.3754, allocations: 0.5035 MB / 0.6411 GB, free: 4.703 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001397/0.3768, allocations: 0.8956 MB / 0.6419 GB, free: 3.754 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002821/0.3771, allocations: 226.2 kB / 0.6421 GB, free: 3.5 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001678/0.3772, allocations: 87.94 kB / 0.6422 GB, free: 3.414 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00197/0.3792, allocations: 0.8926 MB / 0.6431 GB, free: 2.516 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/0.3792, allocations: 3.984 kB / 0.6431 GB, free: 2.512 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.769e-05/0.3793, allocations: 20 kB / 0.6431 GB, free: 2.492 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.553e-05/0.3794, allocations: 16 kB / 0.6431 GB, free: 2.477 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00235/0.3817, allocations: 0.9928 MB / 0.6441 GB, free: 1.484 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.005067/0.3868, allocations: 2.927 MB / 0.647 GB, free: 14.43 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0029/0.3897, allocations: 1.09 MB / 0.648 GB, free: 13.33 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001431/0.3912, allocations: 0.6675 MB / 0.6487 GB, free: 12.66 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001126/0.3913, allocations: 16.98 kB / 0.6487 GB, free: 12.65 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.806e-05/0.3913, allocations: 39.56 kB / 0.6487 GB, free: 12.6 MB / 462.1 MB Notification: Performance of pre-optimization done (n=94): time 2.745e-06/0.3913, allocations: 4 kB / 0.6487 GB, free: 12.6 MB / 462.1 MB Notification: Performance of matching and sorting (n=94): time 0.0262/0.4175, allocations: 6.49 MB / 0.6551 GB, free: 6.066 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.001e-05/0.4176, allocations: 60.41 kB / 0.6551 GB, free: 5.996 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002013/0.4197, allocations: 1.144 MB / 0.6563 GB, free: 4.832 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002618/0.4199, allocations: 49.7 kB / 0.6563 GB, free: 4.777 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004607/0.4204, allocations: 390.4 kB / 0.6567 GB, free: 4.391 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005173/0.4209, allocations: 384.8 kB / 0.657 GB, free: 4.012 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009511/0.4219, allocations: 367.4 kB / 0.6574 GB, free: 3.645 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.422, allocations: 305.1 kB / 0.6577 GB, free: 3.344 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002039/0.4241, allocations: 0.9097 MB / 0.6586 GB, free: 2.434 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002066/0.4261, allocations: 0.9312 MB / 0.6595 GB, free: 1.504 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003868/0.43, allocations: 1.817 MB / 0.6613 GB, free: 15.69 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/0.43, allocations: 0 / 0.6613 GB, free: 15.69 MB / 478.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.007292/0.4373, allocations: 3.056 MB / 0.6642 GB, free: 12.62 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.553e-05/0.4374, allocations: 6.344 kB / 0.6642 GB, free: 12.62 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.4374, allocations: 0 / 0.6642 GB, free: 12.62 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008905/0.4463, allocations: 2.272 MB / 0.6665 GB, free: 10.34 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001615/0.448, allocations: 327.5 kB / 0.6668 GB, free: 10.02 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005382/0.4534, allocations: 2.271 MB / 0.669 GB, free: 7.723 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002104/0.4555, allocations: 202.8 kB / 0.6692 GB, free: 7.523 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002522/0.4558, allocations: 59.98 kB / 0.6692 GB, free: 7.465 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.0005767/0.4563, allocations: 249.5 kB / 0.6695 GB, free: 7.211 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003264/0.4567, allocations: 123.2 kB / 0.6696 GB, free: 7.09 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01104/0.4677, allocations: 3.297 MB / 0.6728 GB, free: 3.781 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.572e-05/0.4678, allocations: 15.94 kB / 0.6728 GB, free: 3.766 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.4678, allocations: 0 / 0.6728 GB, free: 3.766 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.767e-05/0.4678, allocations: 3.984 kB / 0.6728 GB, free: 3.762 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001825/0.4696, allocations: 1.207 MB / 0.674 GB, free: 2.508 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.21e-05/0.4697, allocations: 0 / 0.674 GB, free: 2.508 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007724/0.4704, allocations: 111.8 kB / 0.6741 GB, free: 2.398 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005429/0.4759, allocations: 1.458 MB / 0.6755 GB, free: 0.9375 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001916/0.4761, allocations: 19.94 kB / 0.6756 GB, free: 0.918 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01979/0.4959, allocations: 7.832 MB / 0.6832 GB, free: 8.941 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.4959, allocations: 0 / 0.6832 GB, free: 8.941 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01271/0.5087, allocations: 4.128 MB / 0.6872 GB, free: 4.793 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004625/0.5092, allocations: 248 kB / 0.6875 GB, free: 4.531 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002966/0.5095, allocations: 16 kB / 0.6875 GB, free: 4.516 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00127/0.5107, allocations: 87.91 kB / 0.6876 GB, free: 4.43 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005458/0.5113, allocations: 176.8 kB / 0.6878 GB, free: 4.258 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.52e-05/0.5114, allocations: 24 kB / 0.6878 GB, free: 4.234 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00119/0.5126, allocations: 0.7602 MB / 0.6885 GB, free: 3.465 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5126, allocations: 0 / 0.6885 GB, free: 3.465 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001363/0.514, allocations: 435.8 kB / 0.6889 GB, free: 3.039 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.0003013/0.5143, allocations: 153.8 kB / 0.6891 GB, free: 2.879 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006941/0.5212, allocations: 2.371 MB / 0.6914 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.5213, allocations: 0 / 0.6914 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004083/0.5254, allocations: 1.313 MB / 0.6927 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009747/0.5263, allocations: 92.23 kB / 0.6928 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004718/0.5311, allocations: 2.48 MB / 0.6952 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006702/0.5318, allocations: 1.053 MB / 0.6962 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005317/0.5323, allocations: 115.6 kB / 0.6963 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003864/0.5327, allocations: 71.42 kB / 0.6964 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of SimCode: time 7.01e-07/0.5327, allocations: 0 / 0.6964 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of Templates: time 0.03692/0.5696, allocations: 23.98 MB / 0.7198 GB, free: 3.312 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)