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.001304/0.001304, allocations: 110.2 kB / 16.41 MB, free: 6.449 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.464/1.464, allocations: 222.9 MB / 240.1 MB, free: 4.57 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.001744/0.001744, allocations: 192.4 kB / 290.4 MB, free: 2.285 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4776/0.4776, allocations: 78.52 MB / 419.1 MB, free: 3.137 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 83.88 kB / 0.5543 GB, free: 1.023 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4016/0.4032, allocations: 68.17 MB / 0.6208 GB, free: 9.758 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system): time 0.005722/0.4089, allocations: 6.179 MB / 0.6269 GB, free: 4.059 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00412/0.4131, allocations: 2.122 MB / 0.6289 GB, free: 1.934 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007852/0.4139, allocations: 8 kB / 0.6289 GB, free: 1.926 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005812/0.4145, allocations: 234.1 kB / 0.6292 GB, free: 1.695 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002599/0.4172, allocations: 1.165 MB / 0.6303 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009422/0.4181, allocations: 487.7 kB / 0.6308 GB, free: 64 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002367/0.4205, allocations: 1.847 MB / 0.6326 GB, free: 14.21 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003902/0.4209, allocations: 207.4 kB / 0.6328 GB, free: 13.99 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009729/0.4219, allocations: 0.7084 MB / 0.6335 GB, free: 13.28 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001149/0.423, allocations: 0.9534 MB / 0.6344 GB, free: 12.32 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002318/0.4233, allocations: 144 kB / 0.6345 GB, free: 12.18 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000697/0.424, allocations: 319.8 kB / 0.6348 GB, free: 11.87 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003171/0.4243, allocations: 378.6 kB / 0.6352 GB, free: 11.5 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006176/0.4249, allocations: 0.6877 MB / 0.6359 GB, free: 10.81 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001961/0.4269, allocations: 1.722 MB / 0.6376 GB, free: 9.086 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.4269, allocations: 3.938 kB / 0.6376 GB, free: 9.082 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.4269, allocations: 0 / 0.6376 GB, free: 9.082 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.981e-05/0.4269, allocations: 0 / 0.6376 GB, free: 9.082 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.01575/0.4427, allocations: 3.711 MB / 0.6412 GB, free: 5.309 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/0.4428, allocations: 8.031 kB / 0.6412 GB, free: 5.301 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003068/0.4458, allocations: 0.4911 MB / 0.6417 GB, free: 4.809 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001613/0.4475, allocations: 0.8948 MB / 0.6425 GB, free: 3.859 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003388/0.4478, allocations: 238.2 kB / 0.6428 GB, free: 3.594 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001754/0.448, allocations: 83.94 kB / 0.6428 GB, free: 3.512 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002054/0.4501, allocations: 0.8848 MB / 0.6437 GB, free: 2.621 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.4501, allocations: 0 / 0.6437 GB, free: 2.621 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.601e-05/0.4502, allocations: 20 kB / 0.6437 GB, free: 2.602 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.957e-05/0.4502, allocations: 19.98 kB / 0.6438 GB, free: 2.582 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002314/0.4526, allocations: 0.9928 MB / 0.6447 GB, free: 1.59 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.005878/0.4585, allocations: 2.911 MB / 0.6476 GB, free: 14.55 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003085/0.4616, allocations: 1.105 MB / 0.6486 GB, free: 13.44 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001472/0.4631, allocations: 0.6597 MB / 0.6493 GB, free: 12.78 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001008/0.4632, allocations: 16.98 kB / 0.6493 GB, free: 12.76 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.872e-05/0.4632, allocations: 47.56 kB / 0.6493 GB, free: 12.71 MB / 462.1 MB Notification: Performance of pre-optimization done (n=94): time 3.336e-06/0.4632, allocations: 0 / 0.6493 GB, free: 12.71 MB / 462.1 MB Notification: Performance of matching and sorting (n=94): time 0.02833/0.4916, allocations: 6.481 MB / 0.6557 GB, free: 6.184 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.676e-05/0.4917, allocations: 60.41 kB / 0.6557 GB, free: 6.113 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002378/0.4941, allocations: 1.144 MB / 0.6569 GB, free: 4.949 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003404/0.4945, allocations: 45.7 kB / 0.6569 GB, free: 4.898 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004632/0.4949, allocations: 393.9 kB / 0.6573 GB, free: 4.508 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006175/0.4956, allocations: 355 kB / 0.6576 GB, free: 4.156 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009796/0.4966, allocations: 375.2 kB / 0.658 GB, free: 3.781 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.4967, allocations: 309 kB / 0.6583 GB, free: 3.477 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002167/0.4989, allocations: 0.9097 MB / 0.6592 GB, free: 2.566 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002216/0.5011, allocations: 0.9312 MB / 0.6601 GB, free: 1.637 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004401/0.5055, allocations: 1.813 MB / 0.6618 GB, free: 15.82 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.476e-05/0.5056, allocations: 4 kB / 0.6618 GB, free: 15.82 MB / 478.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.0081/0.5137, allocations: 3.04 MB / 0.6648 GB, free: 12.77 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.182e-05/0.5137, allocations: 8 kB / 0.6648 GB, free: 12.76 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.5138, allocations: 0 / 0.6648 GB, free: 12.76 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009624/0.5234, allocations: 2.272 MB / 0.667 GB, free: 10.48 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001814/0.5252, allocations: 319.6 kB / 0.6673 GB, free: 10.17 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005846/0.5311, allocations: 2.269 MB / 0.6695 GB, free: 7.875 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002509/0.5336, allocations: 198.4 kB / 0.6697 GB, free: 7.68 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003336/0.534, allocations: 59.98 kB / 0.6698 GB, free: 7.621 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.000807/0.5348, allocations: 253.6 kB / 0.67 GB, free: 7.363 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004462/0.5353, allocations: 118.4 kB / 0.6702 GB, free: 7.246 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01162/0.5469, allocations: 3.297 MB / 0.6734 GB, free: 3.938 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-05/0.547, allocations: 15.92 kB / 0.6734 GB, free: 3.922 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/0.547, allocations: 0 / 0.6734 GB, free: 3.922 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.815e-05/0.547, allocations: 3.984 kB / 0.6734 GB, free: 3.918 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002249/0.5493, allocations: 1.214 MB / 0.6746 GB, free: 2.656 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.738e-05/0.5493, allocations: 4 kB / 0.6746 GB, free: 2.652 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007342/0.55, allocations: 115.9 kB / 0.6747 GB, free: 2.539 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005552/0.5556, allocations: 1.443 MB / 0.6761 GB, free: 1.094 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001493/0.5558, allocations: 19.94 kB / 0.6761 GB, free: 1.074 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02114/0.5769, allocations: 7.815 MB / 0.6837 GB, free: 9.113 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.577, allocations: 0 / 0.6837 GB, free: 9.113 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01358/0.5906, allocations: 4.139 MB / 0.6878 GB, free: 4.953 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007588/0.5914, allocations: 227.4 kB / 0.688 GB, free: 4.711 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004778/0.5919, allocations: 20 kB / 0.688 GB, free: 4.691 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001536/0.5934, allocations: 87.91 kB / 0.6881 GB, free: 4.605 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006372/0.5941, allocations: 180.7 kB / 0.6883 GB, free: 4.43 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.399e-05/0.5942, allocations: 23.98 kB / 0.6883 GB, free: 4.406 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00157/0.5958, allocations: 0.7602 MB / 0.689 GB, free: 3.637 MB / 494.1 MB Notification: Performance of sort global known variables: time 8.41e-07/0.5958, allocations: 0 / 0.689 GB, free: 3.637 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002038/0.5978, allocations: 431.7 kB / 0.6895 GB, free: 3.215 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.0004512/0.5983, allocations: 150.7 kB / 0.6896 GB, free: 3.059 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007582/0.6059, allocations: 2.371 MB / 0.6919 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.6059, allocations: 0 / 0.6919 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004525/0.6105, allocations: 1.306 MB / 0.6932 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00145/0.6119, allocations: 102.2 kB / 0.6933 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005893/0.6179, allocations: 2.469 MB / 0.6957 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008432/0.6187, allocations: 1.065 MB / 0.6967 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005098/0.6192, allocations: 79.42 kB / 0.6968 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of SimCode: time 1.092e-06/0.6193, allocations: 0 / 0.6968 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of Templates: time 0.03333/0.6526, allocations: 19.15 MB / 0.7155 GB, free: 8.438 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)