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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 92.22 kB / 19.65 MB, free: 280 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9645/0.9645, allocations: 177.2 MB / 200 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 171.8 kB / 256.6 MB, free: 12.97 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.3228/0.3228, allocations: 80.24 MB / 393.4 MB, free: 2.148 MB / 314.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system") translateModel(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 3.938 kB / 489.8 MB, free: 11.62 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.923e-05/2.06e-05, allocations: 4.703 kB / 489.8 MB, free: 11.62 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.00517/0.005191, allocations: 6.587 MB / 496.4 MB, free: 5.008 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002772/0.007962, allocations: 2.265 MB / 498.6 MB, free: 2.754 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003004/0.008263, allocations: 8 kB / 498.6 MB, free: 2.746 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003967/0.00866, allocations: 265.7 kB / 498.9 MB, free: 2.484 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001315/0.009975, allocations: 1 MB / 499.9 MB, free: 1.484 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006415/0.01062, allocations: 0.5902 MB / 0.4888 GB, free: 0.9023 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00124/0.01186, allocations: 1.895 MB / 0.4906 GB, free: 15 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002425/0.0121, allocations: 158.6 kB / 0.4908 GB, free: 14.83 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007967/0.0129, allocations: 1.044 MB / 0.4918 GB, free: 13.79 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007975/0.01369, allocations: 0.8335 MB / 0.4926 GB, free: 12.95 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001655/0.01386, allocations: 157 kB / 0.4927 GB, free: 12.8 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003962/0.01425, allocations: 327.7 kB / 0.4931 GB, free: 12.48 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000223/0.01448, allocations: 403.8 kB / 0.4934 GB, free: 12.08 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003379/0.01482, allocations: 0.5335 MB / 0.494 GB, free: 11.55 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001059/0.01587, allocations: 1.385 MB / 0.4953 GB, free: 10.16 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.01588, allocations: 0 / 0.4953 GB, free: 10.16 MB / 426.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.01588, allocations: 0.5938 kB / 0.4953 GB, free: 10.16 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.133e-05/0.01589, allocations: 0 / 0.4953 GB, free: 10.16 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.005962/0.02185, allocations: 3.439 MB / 0.4987 GB, free: 6.715 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.02189, allocations: 8.031 kB / 0.4987 GB, free: 6.707 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001654/0.02355, allocations: 0.636 MB / 0.4993 GB, free: 6.07 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001095/0.02464, allocations: 0.8854 MB / 0.5002 GB, free: 5.141 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001836/0.02482, allocations: 282.4 kB / 0.5004 GB, free: 4.824 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001288/0.02495, allocations: 91.95 kB / 0.5005 GB, free: 4.734 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008941/0.02585, allocations: 0.6319 MB / 0.5011 GB, free: 4.094 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.02586, allocations: 4 kB / 0.5011 GB, free: 4.09 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.816e-05/0.02592, allocations: 28 kB / 0.5012 GB, free: 4.062 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.286e-05/0.02593, allocations: 19.94 kB / 0.5012 GB, free: 4.043 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007992/0.02673, allocations: 0.5035 MB / 0.5017 GB, free: 3.539 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003003/0.02973, allocations: 2.419 MB / 0.504 GB, free: 1.078 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/0.03082, allocations: 0.73 MB / 0.5048 GB, free: 348 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004437/0.03126, allocations: 343.1 kB / 0.5051 GB, free: 4 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.573e-05/0.03136, allocations: 17.05 kB / 0.5051 GB, free: 15.98 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.03138, allocations: 50.33 kB / 0.5051 GB, free: 15.92 MB / 442.7 MB Notification: Performance of pre-optimization done (n=105): time 2.194e-06/0.03139, allocations: 0 / 0.5051 GB, free: 15.92 MB / 442.7 MB Notification: Performance of matching and sorting (n=105): time 0.01016/0.04155, allocations: 4.542 MB / 0.5096 GB, free: 11.37 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.708e-05/0.04159, allocations: 64.41 kB / 0.5096 GB, free: 11.29 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009431/0.04253, allocations: 1.161 MB / 0.5108 GB, free: 10.12 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.995e-05/0.0426, allocations: 49.7 kB / 0.5108 GB, free: 10.06 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002805/0.04288, allocations: 0.5361 MB / 0.5113 GB, free: 9.52 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002271/0.04311, allocations: 416.5 kB / 0.5117 GB, free: 9.109 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004191/0.04353, allocations: 385.1 kB / 0.5121 GB, free: 8.727 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.641e-05/0.04362, allocations: 476.8 kB / 0.5126 GB, free: 8.258 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007159/0.04434, allocations: 479.7 kB / 0.513 GB, free: 7.789 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009663/0.0453, allocations: 0.6478 MB / 0.5137 GB, free: 7.109 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001433/0.04674, allocations: 1.161 MB / 0.5148 GB, free: 5.922 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.04674, allocations: 0 / 0.5148 GB, free: 5.922 MB / 442.7 MB Notification: Performance of matching and sorting (n=250) (initialization): time 0.002728/0.04947, allocations: 1.946 MB / 0.5167 GB, free: 3.965 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.04949, allocations: 8 kB / 0.5167 GB, free: 3.957 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.0495, allocations: 0 / 0.5167 GB, free: 3.957 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003749/0.05325, allocations: 1.771 MB / 0.5184 GB, free: 2.18 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007976/0.05405, allocations: 339.5 kB / 0.5188 GB, free: 1.848 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001988/0.05603, allocations: 1.659 MB / 0.5204 GB, free: 156 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008593/0.05689, allocations: 191 kB / 0.5206 GB, free: 15.96 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.605e-05/0.05699, allocations: 67.97 kB / 0.5206 GB, free: 15.89 MB / 458.7 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 (198): * Single equations (assignments): 197 * 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.0004967/0.05748, allocations: 236.3 kB / 0.5208 GB, free: 15.65 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002031/0.05769, allocations: 178.9 kB / 0.521 GB, free: 15.48 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004144/0.06183, allocations: 2.255 MB / 0.5232 GB, free: 13.21 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/0.06184, allocations: 8 kB / 0.5232 GB, free: 13.2 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.06185, allocations: 0 / 0.5232 GB, free: 13.2 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/0.06186, allocations: 7.984 kB / 0.5232 GB, free: 13.2 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005191/0.06705, allocations: 3.183 MB / 0.5263 GB, free: 9.969 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.06706, allocations: 7.938 kB / 0.5264 GB, free: 9.961 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003752/0.06743, allocations: 127.8 kB / 0.5265 GB, free: 9.836 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003815/0.07125, allocations: 1.413 MB / 0.5279 GB, free: 8.418 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.862e-05/0.07131, allocations: 23.98 kB / 0.5279 GB, free: 8.395 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006887/0.07819, allocations: 4.94 MB / 0.5327 GB, free: 3.332 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.0782, allocations: 0 / 0.5327 GB, free: 3.332 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004796/0.08299, allocations: 2.694 MB / 0.5353 GB, free: 0.6133 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000206/0.0832, allocations: 174.8 kB / 0.5355 GB, free: 452 kB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001126/0.08331, allocations: 20 kB / 0.5355 GB, free: 432 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005221/0.08383, allocations: 75.92 kB / 0.5356 GB, free: 356 kB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003039/0.08414, allocations: 188.5 kB / 0.5358 GB, free: 168 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.767e-05/0.08419, allocations: 31.98 kB / 0.5358 GB, free: 136 kB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0006417/0.08483, allocations: 0.7254 MB / 0.5365 GB, free: 15.4 MB / 474.7 MB Notification: Performance of sort global known variables: time 8e-08/0.08483, allocations: 0 / 0.5365 GB, free: 15.4 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0009009/0.08573, allocations: 479.6 kB / 0.537 GB, free: 14.93 MB / 474.7 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 (73): * Single equations (assignments): 72 * 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.0002581/0.08599, allocations: 149.3 kB / 0.5371 GB, free: 14.78 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003/0.08899, allocations: 1.594 MB / 0.5387 GB, free: 13.18 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.08899, allocations: 4 kB / 0.5387 GB, free: 13.18 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001756/0.09074, allocations: 1.048 MB / 0.5397 GB, free: 12.11 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005305/0.09128, allocations: 120.7 kB / 0.5398 GB, free: 11.98 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003174/0.09445, allocations: 2.302 MB / 0.5421 GB, free: 9.641 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001511/0.0946, allocations: 225.9 kB / 0.5423 GB, free: 9.398 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002548/0.09486, allocations: 120.7 kB / 0.5424 GB, free: 9.277 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002519/0.09511, allocations: 84.48 kB / 0.5425 GB, free: 9.195 MB / 474.7 MB Notification: Performance of SimCode: time 1.272e-06/0.09511, allocations: 0 / 0.5425 GB, free: 9.195 MB / 474.7 MB Notification: Performance of Templates: time 0.02555/0.1207, allocations: 25.82 MB / 0.5677 GB, free: 15.46 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.makefile [Timeout 660] (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=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.230597430374473]