Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_dev_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_dev_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.001494/0.001494, allocations: 110.7 kB / 16.41 MB, free: 6.496 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.409/1.409, allocations: 222.9 MB / 240.1 MB, free: 4.363 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.001825/0.001825, allocations: 192.4 kB / 290.4 MB, free: 2.09 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5632/0.5632, allocations: 91.9 MB / 432.4 MB, free: 9.133 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 78.5 kB / 0.5734 GB, free: 33.48 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1898/0.1914, allocations: 71.28 MB / 0.643 GB, free: 3.605 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.009265/0.2007, allocations: 8.234 MB / 0.651 GB, free: 11.33 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.006045/0.2068, allocations: 2.608 MB / 0.6536 GB, free: 8.719 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001725/0.2086, allocations: 8 kB / 0.6536 GB, free: 8.711 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009702/0.2096, allocations: 317.3 kB / 0.6539 GB, free: 8.398 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003878/0.2135, allocations: 1.145 MB / 0.655 GB, free: 7.25 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001637/0.2152, allocations: 0.6903 MB / 0.6557 GB, free: 6.562 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003663/0.2188, allocations: 2.379 MB / 0.658 GB, free: 4.176 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005835/0.2194, allocations: 320.8 kB / 0.6583 GB, free: 3.844 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001661/0.2211, allocations: 0.9573 MB / 0.6592 GB, free: 2.883 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001692/0.2228, allocations: 1.311 MB / 0.6605 GB, free: 1.566 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003258/0.2232, allocations: 203.9 kB / 0.6607 GB, free: 1.367 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008553/0.224, allocations: 383.8 kB / 0.6611 GB, free: 0.9922 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004036/0.2244, allocations: 0.506 MB / 0.6616 GB, free: 496 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009293/0.2254, allocations: 0.9634 MB / 0.6625 GB, free: 15.52 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002652/0.228, allocations: 2.328 MB / 0.6648 GB, free: 13.18 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.2281, allocations: 0 / 0.6648 GB, free: 13.18 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.2281, allocations: 0 / 0.6648 GB, free: 13.18 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.807e-05/0.2281, allocations: 4 kB / 0.6648 GB, free: 13.18 MB / 478.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.01617/0.2443, allocations: 4.09 MB / 0.6688 GB, free: 9.027 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.2444, allocations: 16.03 kB / 0.6688 GB, free: 9.012 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00355/0.2479, allocations: 0.576 MB / 0.6693 GB, free: 8.434 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002261/0.2502, allocations: 1.216 MB / 0.6705 GB, free: 7.168 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000298/0.2505, allocations: 272.8 kB / 0.6708 GB, free: 6.863 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002199/0.2508, allocations: 112 kB / 0.6709 GB, free: 6.754 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002173/0.2529, allocations: 1.096 MB / 0.672 GB, free: 5.648 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.219e-05/0.253, allocations: 0 / 0.672 GB, free: 5.648 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001228/0.2531, allocations: 36 kB / 0.672 GB, free: 5.613 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.036e-05/0.2531, allocations: 20 kB / 0.672 GB, free: 5.594 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002444/0.2556, allocations: 1.175 MB / 0.6732 GB, free: 4.422 MB / 478.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.008648/0.2642, allocations: 4.614 MB / 0.6777 GB, free: 15.57 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003518/0.2678, allocations: 2.135 MB / 0.6798 GB, free: 13.26 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001399/0.2692, allocations: 0.7895 MB / 0.6805 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001233/0.2693, allocations: 33.19 kB / 0.6806 GB, free: 12.43 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.918e-05/0.2694, allocations: 47.81 kB / 0.6806 GB, free: 12.38 MB / 494.1 MB Notification: Performance of pre-optimization done (n=130): time 4.278e-06/0.2694, allocations: 0 / 0.6806 GB, free: 12.38 MB / 494.1 MB Notification: Performance of matching and sorting (n=130): time 0.02696/0.2964, allocations: 6.687 MB / 0.6871 GB, free: 5.652 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.005e-05/0.2965, allocations: 68.72 kB / 0.6872 GB, free: 5.574 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002876/0.2994, allocations: 1.655 MB / 0.6888 GB, free: 3.91 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004164/0.2998, allocations: 61.7 kB / 0.6889 GB, free: 3.844 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005058/0.3003, allocations: 0.5496 MB / 0.6894 GB, free: 3.285 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006288/0.301, allocations: 0.4932 MB / 0.6899 GB, free: 2.785 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008525/0.3018, allocations: 0.5094 MB / 0.6904 GB, free: 2.27 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.302, allocations: 301.1 kB / 0.6907 GB, free: 1.973 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002215/0.3042, allocations: 1.153 MB / 0.6918 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002371/0.3066, allocations: 1.356 MB / 0.6931 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004245/0.3108, allocations: 2.346 MB / 0.6954 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.217e-06/0.3109, allocations: 0 / 0.6954 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of matching and sorting (n=348) (initialization): time 0.009162/0.32, allocations: 4.082 MB / 0.6994 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.929e-05/0.3201, allocations: 8 kB / 0.6994 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/0.3201, allocations: 0 / 0.6994 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01058/0.3307, allocations: 2.823 MB / 0.7022 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002524/0.3333, allocations: 479.3 kB / 0.7026 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00531/0.3386, allocations: 2.523 MB / 0.7051 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002903/0.3415, allocations: 249.8 kB / 0.7053 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001861/0.3417, allocations: 87.97 kB / 0.7054 GB, free: 2.734 MB / 0.4981 GB 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.0006542/0.3424, allocations: 313.3 kB / 0.7057 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000313/0.3427, allocations: 165.8 kB / 0.7059 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01037/0.3531, allocations: 3.55 MB / 0.7093 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-05/0.3531, allocations: 16 kB / 0.7094 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.896e-06/0.3531, allocations: 0 / 0.7094 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.714e-05/0.3531, allocations: 7.969 kB / 0.7094 GB, free: 14.66 MB / 0.5137 GB 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.01314/0.3663, allocations: 5.65 MB / 0.7149 GB, free: 8.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.775e-06/0.3663, allocations: 0 / 0.7149 GB, free: 8.84 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001006/0.3673, allocations: 163.7 kB / 0.715 GB, free: 8.68 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005195/0.3725, allocations: 1.492 MB / 0.7165 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001681/0.3727, allocations: 24 kB / 0.7165 GB, free: 7.16 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01842/0.3912, allocations: 7.849 MB / 0.7242 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.3912, allocations: 0 / 0.7242 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01279/0.404, allocations: 4.558 MB / 0.7286 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000925/0.405, allocations: 306.8 kB / 0.7289 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002341/0.4052, allocations: 28 kB / 0.729 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001501/0.4067, allocations: 75.92 kB / 0.729 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006242/0.4074, allocations: 189.5 kB / 0.7292 GB, free: 9.973 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.502e-05/0.4075, allocations: 32 kB / 0.7292 GB, free: 9.941 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001512/0.409, allocations: 1.094 MB / 0.7303 GB, free: 8.852 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.9e-07/0.409, allocations: 0 / 0.7303 GB, free: 8.852 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001706/0.4107, allocations: 0.5972 MB / 0.7309 GB, free: 8.254 MB / 0.5294 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.0003555/0.4111, allocations: 158.9 kB / 0.731 GB, free: 8.09 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00818/0.4192, allocations: 3.007 MB / 0.734 GB, free: 5.082 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.4193, allocations: 0 / 0.734 GB, free: 5.082 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004531/0.4238, allocations: 1.543 MB / 0.7355 GB, free: 3.527 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001647/0.4255, allocations: 133.6 kB / 0.7356 GB, free: 3.395 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006361/0.4319, allocations: 3.507 MB / 0.739 GB, free: 15.86 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007713/0.4326, allocations: 1.238 MB / 0.7402 GB, free: 14.59 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006786/0.4333, allocations: 103.4 kB / 0.7403 GB, free: 14.48 MB / 0.545 GB Notification: Performance of SimCode: time 8.61e-07/0.4333, allocations: 4 kB / 0.7404 GB, free: 14.48 MB / 0.545 GB Notification: Performance of Templates: time 0.04417/0.4775, allocations: 26.64 MB / 0.7664 GB, free: 3.789 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.sim & ./OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe 2>&1)