Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_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.Reference_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system") translateModel(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001947/0.001947, allocations: 107.4 kB / 16.41 MB, free: 6.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.051/2.051, allocations: 222.9 MB / 240.1 MB, free: 4.559 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.002143/0.002143, allocations: 192.4 kB / 290.4 MB, free: 2.277 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.6554/0.6554, allocations: 78.52 MB / 419.1 MB, free: 3.211 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003449/0.003449, allocations: 83.86 kB / 0.5543 GB, free: 1.023 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5806/0.5841, allocations: 68.17 MB / 0.6208 GB, free: 9.684 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.009576/0.5937, allocations: 8.22 MB / 0.6289 GB, free: 2.012 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00779/0.6016, allocations: 2.616 MB / 0.6314 GB, free: 15.39 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002155/0.6038, allocations: 12 kB / 0.6314 GB, free: 15.38 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001406/0.6053, allocations: 305.4 kB / 0.6317 GB, free: 15.08 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005898/0.6112, allocations: 1.503 MB / 0.6332 GB, free: 13.59 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001823/0.6131, allocations: 0.5949 MB / 0.6338 GB, free: 12.99 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004905/0.618, allocations: 2.569 MB / 0.6363 GB, free: 10.42 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007379/0.6187, allocations: 320.8 kB / 0.6366 GB, free: 10.08 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002097/0.6209, allocations: 1.008 MB / 0.6376 GB, free: 9.066 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002305/0.6232, allocations: 1.366 MB / 0.6389 GB, free: 7.691 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004661/0.6237, allocations: 204 kB / 0.6391 GB, free: 7.492 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001177/0.6248, allocations: 379.8 kB / 0.6395 GB, free: 7.121 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005484/0.6254, allocations: 0.5099 MB / 0.64 GB, free: 6.609 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001235/0.6267, allocations: 0.9946 MB / 0.6409 GB, free: 5.609 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00338/0.63, allocations: 2.372 MB / 0.6432 GB, free: 3.234 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.6301, allocations: 0 / 0.6432 GB, free: 3.234 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.6301, allocations: 0 / 0.6432 GB, free: 3.234 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.025e-05/0.6301, allocations: 0 / 0.6432 GB, free: 3.234 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.02816/0.6583, allocations: 4.947 MB / 0.6481 GB, free: 14.23 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.883e-05/0.6584, allocations: 8.031 kB / 0.6481 GB, free: 14.22 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005434/0.6638, allocations: 0.5799 MB / 0.6486 GB, free: 13.64 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00307/0.6669, allocations: 1.216 MB / 0.6498 GB, free: 12.37 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003886/0.6674, allocations: 264.8 kB / 0.6501 GB, free: 12.08 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003131/0.6677, allocations: 120 kB / 0.6502 GB, free: 11.96 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003081/0.6708, allocations: 1.085 MB / 0.6513 GB, free: 10.87 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.967e-05/0.6708, allocations: 7.938 kB / 0.6513 GB, free: 10.86 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001324/0.671, allocations: 32 kB / 0.6513 GB, free: 10.83 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.376e-05/0.671, allocations: 20 kB / 0.6513 GB, free: 10.81 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003389/0.6744, allocations: 1.179 MB / 0.6525 GB, free: 9.629 MB / 462.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.01098/0.6854, allocations: 4.606 MB / 0.657 GB, free: 4.801 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005279/0.6907, allocations: 2.147 MB / 0.6591 GB, free: 2.469 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002609/0.6934, allocations: 0.7944 MB / 0.6598 GB, free: 1.672 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001873/0.6936, allocations: 25.28 kB / 0.6599 GB, free: 1.648 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.974e-05/0.6936, allocations: 47.86 kB / 0.6599 GB, free: 1.59 MB / 462.1 MB Notification: Performance of pre-optimization done (n=130): time 6.643e-06/0.6937, allocations: 0 / 0.6599 GB, free: 1.59 MB / 462.1 MB Notification: Performance of matching and sorting (n=130): time 0.0452/0.7389, allocations: 6.691 MB / 0.6664 GB, free: 10.86 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.573e-05/0.739, allocations: 64.72 kB / 0.6665 GB, free: 10.79 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005014/0.7441, allocations: 1.659 MB / 0.6681 GB, free: 9.117 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005684/0.7447, allocations: 57.7 kB / 0.6682 GB, free: 9.055 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000726/0.7454, allocations: 0.5496 MB / 0.6687 GB, free: 8.496 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009617/0.7464, allocations: 0.4971 MB / 0.6692 GB, free: 7.992 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001508/0.7479, allocations: 0.5055 MB / 0.6697 GB, free: 7.48 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.748, allocations: 309.1 kB / 0.67 GB, free: 7.176 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003705/0.7518, allocations: 1.142 MB / 0.6711 GB, free: 6.031 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003973/0.7558, allocations: 1.356 MB / 0.6724 GB, free: 4.648 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007286/0.7631, allocations: 2.346 MB / 0.6747 GB, free: 2.262 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.469e-05/0.7631, allocations: 0 / 0.6747 GB, free: 2.262 MB / 478.1 MB Notification: Performance of matching and sorting (n=348) (initialization): time 0.01531/0.7784, allocations: 4.09 MB / 0.6787 GB, free: 14.13 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.732e-05/0.7785, allocations: 4 kB / 0.6787 GB, free: 14.13 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.541e-05/0.7786, allocations: 11.98 kB / 0.6787 GB, free: 14.12 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01649/0.7951, allocations: 2.819 MB / 0.6815 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003811/0.799, allocations: 479.3 kB / 0.6819 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009105/0.8081, allocations: 2.523 MB / 0.6844 GB, free: 8.27 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004585/0.8127, allocations: 241.9 kB / 0.6846 GB, free: 8.031 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000613/0.8134, allocations: 95.95 kB / 0.6847 GB, free: 7.938 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (281): * Single equations (assignments): 280 * 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 {(30,38)} Notification: Performance of prepare postOptimizeDAE: time 0.001109/0.8145, allocations: 313.3 kB / 0.685 GB, free: 7.621 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000778/0.8153, allocations: 165.8 kB / 0.6852 GB, free: 7.457 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01732/0.8326, allocations: 3.546 MB / 0.6886 GB, free: 3.891 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.548e-05/0.8327, allocations: 12 kB / 0.6887 GB, free: 3.879 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.145e-05/0.8328, allocations: 0 / 0.6887 GB, free: 3.879 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-05/0.8328, allocations: 11.95 kB / 0.6887 GB, free: 3.867 MB / 494.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 postOpt removeSimpleEquations (simulation): time 0.02214/0.855, allocations: 5.658 MB / 0.6942 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.823e-05/0.8551, allocations: 0 / 0.6942 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001824/0.8569, allocations: 163.8 kB / 0.6943 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008664/0.8656, allocations: 1.484 MB / 0.6958 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005069/0.8662, allocations: 31.98 kB / 0.6958 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03038/0.8966, allocations: 7.841 MB / 0.7035 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.8966, allocations: 0 / 0.7035 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02094/0.9176, allocations: 4.56 MB / 0.7079 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001114/0.9188, allocations: 302.8 kB / 0.7082 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006334/0.9194, allocations: 32 kB / 0.7083 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002405/0.9218, allocations: 83.8 kB / 0.7083 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009079/0.9228, allocations: 189.5 kB / 0.7085 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001946/0.923, allocations: 32 kB / 0.7085 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002714/0.9257, allocations: 1.094 MB / 0.7096 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7.01e-07/0.9257, allocations: 0 / 0.7096 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002772/0.9285, allocations: 0.5972 MB / 0.7102 GB, free: 13.46 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,gENROE1.w,gENROE1.delta,gENROE1.Epd,gENROE1.Epq,gENROE1.PSIkd,gENROE1.PSIkq,gENROE2.w,gENROE2.delta,gENROE2.Epd,gENROE2.Epq,gENROE2.PSIkd,gENROE2.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 (93): * Single equations (assignments): 92 * 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 {(16,31)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004427/0.929, allocations: 147 kB / 0.7103 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01255/0.9415, allocations: 3.018 MB / 0.7133 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.9416, allocations: 0 / 0.7133 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.007012/0.9486, allocations: 1.528 MB / 0.7148 GB, free: 8.742 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002863/0.9515, allocations: 125.6 kB / 0.7149 GB, free: 8.617 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01049/0.962, allocations: 3.518 MB / 0.7183 GB, free: 5.07 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001279/0.9634, allocations: 1.23 MB / 0.7195 GB, free: 3.812 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001184/0.9646, allocations: 115.4 kB / 0.7196 GB, free: 3.699 MB / 0.5137 GB Notification: Performance of SimCode: time 7.91e-07/0.9646, allocations: 0 / 0.7196 GB, free: 3.699 MB / 0.5137 GB Notification: Performance of Templates: time 0.05505/1.02, allocations: 26.89 MB / 0.7459 GB, free: 8.762 MB / 0.545 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.makefile (rm -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.sim & ./OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe 2>&1)