Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: translateModel(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_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_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.1072/0.1072, allocations: 12.2 MB / 27.48 MB, free: 0.9258 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008744/0.0008746, allocations: 99.53 kB / 31 MB, free: 4.531 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.588/1.588, allocations: 205.4 MB / 239.8 MB, free: 12.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 172.6 kB / 291 MB, free: 15.76 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.5637/0.5637, allocations: 78.52 MB / 420.5 MB, free: 32.56 MB / 318.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000945/0.0009453, allocations: 28.94 kB / 0.4901 GB, free: 15.53 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.489/0.49, allocations: 69.23 MB / 0.5577 GB, free: 38.19 MB / 414.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.007346/0.4974, allocations: 8.013 MB / 0.5655 GB, free: 32.14 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006948/0.5044, allocations: 2.603 MB / 0.5681 GB, free: 30.29 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002762/0.5072, allocations: 11.84 kB / 0.5681 GB, free: 30.29 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0014/0.5086, allocations: 233.9 kB / 0.5683 GB, free: 30.2 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005648/0.5143, allocations: 1.363 MB / 0.5696 GB, free: 29.33 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001801/0.5161, allocations: 0.5664 MB / 0.5702 GB, free: 29.04 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00496/0.5211, allocations: 2.422 MB / 0.5725 GB, free: 27.97 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001019/0.5221, allocations: 296.5 kB / 0.5728 GB, free: 27.82 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002611/0.5248, allocations: 0.8793 MB / 0.5737 GB, free: 27.46 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00232/0.5271, allocations: 1.244 MB / 0.5749 GB, free: 26.95 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009358/0.5281, allocations: 106.9 kB / 0.575 GB, free: 26.95 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001571/0.5296, allocations: 277.3 kB / 0.5753 GB, free: 26.89 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001027/0.5307, allocations: 428.5 kB / 0.5757 GB, free: 26.66 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002297/0.533, allocations: 0.9044 MB / 0.5766 GB, free: 26.08 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004072/0.5371, allocations: 2.238 MB / 0.5787 GB, free: 25.29 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.5371, allocations: 0 / 0.5787 GB, free: 25.29 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.428e-06/0.5371, allocations: 0 / 0.5787 GB, free: 25.29 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000219/0.5374, allocations: 0 / 0.5787 GB, free: 25.29 MB / 414.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.02321/0.5606, allocations: 4.768 MB / 0.5834 GB, free: 23.82 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.133e-05/0.5607, allocations: 13.52 kB / 0.5834 GB, free: 23.81 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004796/0.5655, allocations: 0.5835 MB / 0.584 GB, free: 23.66 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004214/0.5697, allocations: 1.221 MB / 0.5852 GB, free: 22.88 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004653/0.5702, allocations: 279 kB / 0.5854 GB, free: 22.64 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008248/0.5711, allocations: 110.6 kB / 0.5856 GB, free: 22.61 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0043/0.5754, allocations: 1.139 MB / 0.5867 GB, free: 22.2 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.358e-05/0.5755, allocations: 0 / 0.5867 GB, free: 22.2 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002773/0.5757, allocations: 31.16 kB / 0.5867 GB, free: 22.17 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.76e-05/0.5758, allocations: 21.58 kB / 0.5867 GB, free: 22.17 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003951/0.5797, allocations: 1.238 MB / 0.5879 GB, free: 21.77 MB / 414.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.01128/0.5911, allocations: 4.653 MB / 0.5925 GB, free: 18.41 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003771/0.5948, allocations: 2.2 MB / 0.5946 GB, free: 16.77 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001831/0.5967, allocations: 0.841 MB / 0.5954 GB, free: 16.36 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001343/0.5969, allocations: 19.92 kB / 0.5955 GB, free: 16.36 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.395e-05/0.5969, allocations: 43.81 kB / 0.5955 GB, free: 16.3 MB / 414.1 MB Notification: Performance of pre-optimization done (n=130): time 4.729e-06/0.5969, allocations: 1.281 kB / 0.5955 GB, free: 16.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=130): time 0.03037/0.6273, allocations: 7.746 MB / 0.6031 GB, free: 10.75 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.486e-05/0.6274, allocations: 68.72 kB / 0.6031 GB, free: 10.67 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003629/0.6311, allocations: 1.659 MB / 0.6047 GB, free: 9 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006392/0.6317, allocations: 57.7 kB / 0.6048 GB, free: 8.938 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006806/0.6324, allocations: 0.5536 MB / 0.6053 GB, free: 8.375 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001034/0.6335, allocations: 0.5009 MB / 0.6058 GB, free: 7.867 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008911/0.6344, allocations: 267.2 kB / 0.6061 GB, free: 7.602 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.024e-05/0.6345, allocations: 301.1 kB / 0.6064 GB, free: 7.305 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002779/0.6373, allocations: 1.2 MB / 0.6075 GB, free: 6.102 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002708/0.64, allocations: 1.403 MB / 0.6089 GB, free: 4.672 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0048/0.6448, allocations: 2.44 MB / 0.6113 GB, free: 2.195 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.118e-05/0.6448, allocations: 0 / 0.6113 GB, free: 2.195 MB / 414.1 MB Notification: Performance of matching and sorting (n=348) (initialization): time 0.01094/0.6558, allocations: 4.387 MB / 0.6156 GB, free: 13.77 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.624e-05/0.6559, allocations: 4 kB / 0.6156 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.728e-05/0.6559, allocations: 4.188 kB / 0.6156 GB, free: 13.76 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01179/0.6677, allocations: 3.08 MB / 0.6186 GB, free: 10.67 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002622/0.6703, allocations: 479.3 kB / 0.6191 GB, free: 10.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00688/0.6773, allocations: 2.711 MB / 0.6217 GB, free: 7.465 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004111/0.6814, allocations: 265.9 kB / 0.622 GB, free: 7.203 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000646/0.6821, allocations: 87.97 kB / 0.622 GB, free: 7.117 MB / 430.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.001352/0.6834, allocations: 317.3 kB / 0.6223 GB, free: 6.797 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009026/0.6844, allocations: 165.8 kB / 0.6225 GB, free: 6.633 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01261/0.697, allocations: 4.128 MB / 0.6265 GB, free: 2.484 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-05/0.697, allocations: 15.98 kB / 0.6265 GB, free: 2.469 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.127e-05/0.6971, allocations: 4 kB / 0.6266 GB, free: 2.465 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.483e-05/0.6971, allocations: 3.984 kB / 0.6266 GB, free: 2.461 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 postOpt removeSimpleEquations (simulation): time 0.01627/0.7134, allocations: 6.241 MB / 0.6326 GB, free: 12.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.038e-05/0.7134, allocations: 0 / 0.6326 GB, free: 12.06 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001205/0.7147, allocations: 171.8 kB / 0.6328 GB, free: 11.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005971/0.7207, allocations: 1.703 MB / 0.6345 GB, free: 10.18 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003247/0.721, allocations: 27.98 kB / 0.6345 GB, free: 10.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01976/0.7408, allocations: 7.805 MB / 0.6421 GB, free: 2.207 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.7408, allocations: 3.938 kB / 0.6421 GB, free: 2.203 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01508/0.7559, allocations: 5.189 MB / 0.6472 GB, free: 12.99 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001156/0.7571, allocations: 310.8 kB / 0.6475 GB, free: 12.67 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007803/0.7579, allocations: 24 kB / 0.6475 GB, free: 12.64 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002286/0.7602, allocations: 103.9 kB / 0.6476 GB, free: 12.54 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008675/0.7611, allocations: 193.4 kB / 0.6478 GB, free: 12.35 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001732/0.7613, allocations: 36 kB / 0.6478 GB, free: 12.32 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002778/0.7641, allocations: 1.09 MB / 0.6489 GB, free: 11.23 MB / 462.1 MB Notification: Performance of sort global known variables: time 2e-07/0.7641, allocations: 0 / 0.6489 GB, free: 11.23 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00324/0.7674, allocations: 0.5894 MB / 0.6495 GB, free: 10.64 MB / 462.1 MB 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.0005284/0.7679, allocations: 152.1 kB / 0.6496 GB, free: 10.48 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009965/0.7779, allocations: 3.184 MB / 0.6527 GB, free: 7.293 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.778, allocations: 0 / 0.6527 GB, free: 7.293 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005052/0.783, allocations: 1.664 MB / 0.6544 GB, free: 5.621 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002144/0.7852, allocations: 135.4 kB / 0.6545 GB, free: 5.488 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00765/0.7928, allocations: 4.283 MB / 0.6587 GB, free: 1.195 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001057/0.7939, allocations: 1.234 MB / 0.6599 GB, free: 15.93 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001053/0.795, allocations: 163.2 kB / 0.66 GB, free: 15.77 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000713/0.7957, allocations: 103.4 kB / 0.6601 GB, free: 15.66 MB / 478.1 MB Notification: Performance of SimCode: time 1.422e-06/0.7957, allocations: 0 / 0.6601 GB, free: 15.66 MB / 478.1 MB Notification: Performance of Templates: time 0.0512/0.8469, allocations: 27.36 MB / 0.6868 GB, free: 4.316 MB / 494.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.makefile Environment - environmentSimulation: (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe 2>&1) Environment - environmentSimulation: