Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_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.Line_Aggregation.Reference_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system") translateModel(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000951/0.0009509, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.414/1.414, allocations: 223.3 MB / 239.4 MB, free: 5.492 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.001228/0.001228, allocations: 184.5 kB / 290.6 MB, free: 2.156 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5074/0.5074, allocations: 78.55 MB / 420.3 MB, free: 4.246 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003822/0.0003822, allocations: 8 kB / 0.4887 GB, free: 6.047 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.165/0.1654, allocations: 69.36 MB / 0.5564 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.3136/0.4791, allocations: 6.706 MB / 0.5629 GB, free: 36.04 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00489/0.484, allocations: 2.3 MB / 0.5652 GB, free: 35.16 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001054/0.4851, allocations: 10.59 kB / 0.5652 GB, free: 35.16 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006163/0.4857, allocations: 204.5 kB / 0.5654 GB, free: 35.09 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00307/0.4888, allocations: 1.112 MB / 0.5665 GB, free: 34.68 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001077/0.4899, allocations: 469 kB / 0.5669 GB, free: 34.63 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002473/0.4924, allocations: 1.92 MB / 0.5688 GB, free: 34.25 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004131/0.4928, allocations: 227.2 kB / 0.569 GB, free: 34.21 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001042/0.4939, allocations: 0.682 MB / 0.5697 GB, free: 34.03 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009744/0.4948, allocations: 0.9561 MB / 0.5706 GB, free: 33.8 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001881/0.495, allocations: 83.16 kB / 0.5707 GB, free: 33.8 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006281/0.4957, allocations: 249 kB / 0.5709 GB, free: 33.79 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000248/0.4959, allocations: 334.3 kB / 0.5713 GB, free: 33.69 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005473/0.4965, allocations: 0.7182 MB / 0.572 GB, free: 33.39 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001416/0.4979, allocations: 1.781 MB / 0.5737 GB, free: 32.98 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.4979, allocations: 0.875 kB / 0.5737 GB, free: 32.98 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.4979, allocations: 0 / 0.5737 GB, free: 32.98 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.463e-05/0.498, allocations: 0.7812 kB / 0.5737 GB, free: 32.98 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 175 * Number of variables: 175 Notification: Performance of Generate backend data structure: time 0.01424/0.5122, allocations: 3.768 MB / 0.5774 GB, free: 32.01 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.575e-05/0.5123, allocations: 8.312 kB / 0.5774 GB, free: 32.01 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003239/0.5155, allocations: 0.5251 MB / 0.5779 GB, free: 31.91 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001541/0.5171, allocations: 0.973 MB / 0.5789 GB, free: 31.5 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002587/0.5173, allocations: 240.6 kB / 0.5791 GB, free: 31.34 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001731/0.5175, allocations: 99.34 kB / 0.5792 GB, free: 31.33 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002178/0.5197, allocations: 1.036 MB / 0.5802 GB, free: 31.27 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.977e-05/0.5197, allocations: 0 / 0.5802 GB, free: 31.27 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.66e-05/0.5198, allocations: 29 kB / 0.5802 GB, free: 31.27 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.824e-05/0.5199, allocations: 16.28 kB / 0.5802 GB, free: 31.27 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002419/0.5223, allocations: 1.176 MB / 0.5814 GB, free: 31.23 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 preOpt removeSimpleEquations (simulation): time 0.005759/0.5281, allocations: 3.795 MB / 0.5851 GB, free: 29.38 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003332/0.5314, allocations: 1.752 MB / 0.5868 GB, free: 28.38 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001609/0.533, allocations: 0.7823 MB / 0.5876 GB, free: 28.09 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001033/0.5331, allocations: 19.3 kB / 0.5876 GB, free: 28.09 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.5332, allocations: 43.56 kB / 0.5876 GB, free: 28.04 MB / 430.1 MB Notification: Performance of pre-optimization done (n=103): time 3.277e-06/0.5332, allocations: 1.344 kB / 0.5876 GB, free: 28.04 MB / 430.1 MB Notification: Performance of matching and sorting (n=103): time 0.02566/0.5588, allocations: 6.626 MB / 0.5941 GB, free: 26.73 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.438e-05/0.559, allocations: 63.17 kB / 0.5942 GB, free: 26.67 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003359/0.5623, allocations: 1.274 MB / 0.5954 GB, free: 26.13 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003921/0.5627, allocations: 51.27 kB / 0.5954 GB, free: 26.08 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005813/0.5633, allocations: 478.6 kB / 0.5959 GB, free: 25.71 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006838/0.564, allocations: 394.8 kB / 0.5963 GB, free: 25.4 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006508/0.5647, allocations: 196 kB / 0.5965 GB, free: 25.31 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.525e-05/0.5648, allocations: 306.9 kB / 0.5968 GB, free: 25.01 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00274/0.5675, allocations: 1.005 MB / 0.5977 GB, free: 24.64 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002851/0.5704, allocations: 1.179 MB / 0.5989 GB, free: 24.16 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005486/0.5759, allocations: 2.05 MB / 0.6009 GB, free: 23.25 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.332e-05/0.5759, allocations: 1.219 kB / 0.6009 GB, free: 23.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=256) (initialization): time 0.009527/0.5855, allocations: 3.216 MB / 0.604 GB, free: 22.02 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.006e-05/0.5855, allocations: 8 kB / 0.604 GB, free: 22.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/0.5856, allocations: 1.062 kB / 0.604 GB, free: 22.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01058/0.5961, allocations: 2.535 MB / 0.6065 GB, free: 21.65 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002342/0.5985, allocations: 365.7 kB / 0.6069 GB, free: 21.61 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00711/0.6057, allocations: 2.456 MB / 0.6093 GB, free: 20.46 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003335/0.6091, allocations: 253.7 kB / 0.6095 GB, free: 20.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004536/0.6095, allocations: 67.53 kB / 0.6096 GB, free: 20.33 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 (204): * Single equations (assignments): 203 * 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.001134/0.6107, allocations: 265.7 kB / 0.6098 GB, free: 20.11 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005799/0.6113, allocations: 135.7 kB / 0.61 GB, free: 20.04 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01345/0.6247, allocations: 3.979 MB / 0.6138 GB, free: 18.48 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.52e-05/0.6248, allocations: 13.36 kB / 0.6139 GB, free: 18.47 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.041e-05/0.6249, allocations: 1.938 kB / 0.6139 GB, free: 18.47 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.654e-05/0.6249, allocations: 5.109 kB / 0.6139 GB, free: 18.47 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.01506/0.64, allocations: 5.672 MB / 0.6194 GB, free: 13 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.458e-05/0.64, allocations: 0 / 0.6194 GB, free: 13 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009092/0.641, allocations: 131.9 kB / 0.6195 GB, free: 12.87 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005353/0.6463, allocations: 1.674 MB / 0.6212 GB, free: 11.19 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001872/0.6465, allocations: 23.94 kB / 0.6212 GB, free: 11.17 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01875/0.6653, allocations: 7.846 MB / 0.6288 GB, free: 3.191 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.6654, allocations: 4 kB / 0.6288 GB, free: 3.188 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01376/0.6791, allocations: 4.929 MB / 0.6337 GB, free: 14.24 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008613/0.6801, allocations: 251.1 kB / 0.6339 GB, free: 13.97 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006236/0.6807, allocations: 20 kB / 0.6339 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001815/0.6826, allocations: 127.9 kB / 0.634 GB, free: 13.83 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006604/0.6832, allocations: 181.6 kB / 0.6342 GB, free: 13.65 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.943e-05/0.6834, allocations: 25.88 kB / 0.6342 GB, free: 13.63 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001744/0.6851, allocations: 0.8473 MB / 0.6351 GB, free: 12.78 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.6851, allocations: 0 / 0.6351 GB, free: 12.78 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00221/0.6873, allocations: 479.6 kB / 0.6355 GB, free: 12.31 MB / 446.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 (71): * Single equations (assignments): 70 * 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.0003885/0.6877, allocations: 151.6 kB / 0.6357 GB, free: 12.15 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008249/0.696, allocations: 2.653 MB / 0.6383 GB, free: 9.504 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.653e-06/0.696, allocations: 0 / 0.6383 GB, free: 9.504 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004693/0.7007, allocations: 1.497 MB / 0.6397 GB, free: 7.996 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001809/0.7026, allocations: 109.2 kB / 0.6398 GB, free: 7.887 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006617/0.7092, allocations: 3.282 MB / 0.643 GB, free: 4.676 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009706/0.7102, allocations: 1.109 MB / 0.6441 GB, free: 3.531 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008342/0.7111, allocations: 122.8 kB / 0.6442 GB, free: 3.41 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005826/0.7117, allocations: 79.42 kB / 0.6443 GB, free: 3.332 MB / 446.1 MB Notification: Performance of SimCode: time 1.223e-06/0.7117, allocations: 4 kB / 0.6443 GB, free: 3.328 MB / 446.1 MB Notification: Performance of Templates: time 0.04219/0.7539, allocations: 21.9 MB / 0.6657 GB, free: 13.56 MB / 478.1 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.makefile Environment - environmentSimulation: (rm -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.sim & ./OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe 2>&1) Environment - environmentSimulation: