Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.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.Line_Aggregation.Reference_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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_dev_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.001464/0.001464, allocations: 108.8 kB / 16.41 MB, free: 6.492 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.415/1.415, allocations: 222.9 MB / 240.1 MB, free: 4.566 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.001659/0.001659, allocations: 192.5 kB / 290.4 MB, free: 2.281 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5917/0.5917, allocations: 91.91 MB / 432.4 MB, free: 9.195 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001541/0.001541, allocations: 82.05 kB / 0.5734 GB, free: 33.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1599, allocations: 71.28 MB / 0.643 GB, free: 3.629 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.007752/0.1677, allocations: 6.965 MB / 0.6498 GB, free: 12.62 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005073/0.1729, allocations: 2.289 MB / 0.652 GB, free: 10.33 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001062/0.174, allocations: 8 kB / 0.652 GB, free: 10.32 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007016/0.1747, allocations: 253.9 kB / 0.6523 GB, free: 10.07 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002649/0.1774, allocations: 0.9662 MB / 0.6532 GB, free: 9.105 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001357/0.1787, allocations: 0.5793 MB / 0.6538 GB, free: 8.527 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002394/0.1812, allocations: 1.854 MB / 0.6556 GB, free: 6.668 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004441/0.1816, allocations: 260.8 kB / 0.6558 GB, free: 6.402 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009741/0.1826, allocations: 0.7471 MB / 0.6566 GB, free: 5.652 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001106/0.1837, allocations: 1.004 MB / 0.6575 GB, free: 4.645 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002184/0.1839, allocations: 156 kB / 0.6577 GB, free: 4.492 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007339/0.1847, allocations: 331.8 kB / 0.658 GB, free: 4.168 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003494/0.185, allocations: 398.5 kB / 0.6584 GB, free: 3.777 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007284/0.1858, allocations: 0.7614 MB / 0.6591 GB, free: 3.012 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002084/0.1879, allocations: 1.872 MB / 0.661 GB, free: 1.133 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.1879, allocations: 0 / 0.661 GB, free: 1.133 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.946e-06/0.1879, allocations: 0 / 0.661 GB, free: 1.133 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.563e-05/0.1879, allocations: 0 / 0.661 GB, free: 1.133 MB / 462.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.01217/0.2001, allocations: 3.325 MB / 0.6642 GB, free: 13.75 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/0.2002, allocations: 8.031 kB / 0.6642 GB, free: 13.74 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00306/0.2032, allocations: 0.5221 MB / 0.6647 GB, free: 13.22 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001636/0.2049, allocations: 0.9739 MB / 0.6657 GB, free: 12.19 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002982/0.2052, allocations: 242.8 kB / 0.6659 GB, free: 11.93 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001735/0.2054, allocations: 84 kB / 0.666 GB, free: 11.84 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002075/0.2075, allocations: 0.9832 MB / 0.6669 GB, free: 10.85 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.115e-05/0.2075, allocations: 3.984 kB / 0.6669 GB, free: 10.85 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-05/0.2076, allocations: 32 kB / 0.667 GB, free: 10.82 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.754e-05/0.2076, allocations: 16 kB / 0.667 GB, free: 10.8 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002404/0.21, allocations: 1.089 MB / 0.6681 GB, free: 9.711 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.006254/0.2163, allocations: 3.731 MB / 0.6717 GB, free: 5.809 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003067/0.2194, allocations: 1.669 MB / 0.6733 GB, free: 4.02 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001439/0.2208, allocations: 0.7143 MB / 0.674 GB, free: 3.301 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001089/0.2209, allocations: 16.98 kB / 0.674 GB, free: 3.285 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.221, allocations: 47.56 kB / 0.6741 GB, free: 3.227 MB / 478.1 MB Notification: Performance of pre-optimization done (n=103): time 3.247e-06/0.221, allocations: 0 / 0.6741 GB, free: 3.227 MB / 478.1 MB Notification: Performance of matching and sorting (n=103): time 0.02167/0.2427, allocations: 5.596 MB / 0.6796 GB, free: 13.6 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.684e-05/0.2428, allocations: 64.41 kB / 0.6796 GB, free: 13.52 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002169/0.245, allocations: 1.283 MB / 0.6809 GB, free: 12.23 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003571/0.2453, allocations: 49.7 kB / 0.6809 GB, free: 12.18 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004338/0.2458, allocations: 477.6 kB / 0.6814 GB, free: 11.7 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005085/0.2463, allocations: 394.5 kB / 0.6817 GB, free: 11.31 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006753/0.247, allocations: 387.2 kB / 0.6821 GB, free: 10.93 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.2471, allocations: 301.1 kB / 0.6824 GB, free: 10.63 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002019/0.2491, allocations: 0.9448 MB / 0.6833 GB, free: 9.68 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002125/0.2513, allocations: 1.109 MB / 0.6844 GB, free: 8.539 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003846/0.2551, allocations: 1.931 MB / 0.6863 GB, free: 6.586 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/0.2551, allocations: 0 / 0.6863 GB, free: 6.586 MB / 494.1 MB Notification: Performance of matching and sorting (n=256) (initialization): time 0.006734/0.2619, allocations: 3.036 MB / 0.6893 GB, free: 3.535 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.849e-05/0.2619, allocations: 9.406 kB / 0.6893 GB, free: 3.527 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.262, allocations: 4.188 kB / 0.6893 GB, free: 3.523 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008749/0.2707, allocations: 2.276 MB / 0.6915 GB, free: 1.246 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00208/0.2728, allocations: 363.4 kB / 0.6918 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005155/0.278, allocations: 2.267 MB / 0.6941 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002444/0.2805, allocations: 214.4 kB / 0.6943 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001691/0.2807, allocations: 67.98 kB / 0.6943 GB, free: 14.32 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 (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.0005589/0.2812, allocations: 269.5 kB / 0.6946 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002911/0.2815, allocations: 134.2 kB / 0.6947 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01039/0.2919, allocations: 3.349 MB / 0.698 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.971e-05/0.292, allocations: 12 kB / 0.698 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.417e-06/0.292, allocations: 0 / 0.698 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-05/0.292, allocations: 3.984 kB / 0.698 GB, free: 10.54 MB / 0.4981 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.01289/0.3049, allocations: 5.031 MB / 0.7029 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.47e-05/0.305, allocations: 0 / 0.7029 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008923/0.3059, allocations: 131.9 kB / 0.703 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005136/0.3111, allocations: 1.445 MB / 0.7044 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001737/0.3113, allocations: 20 kB / 0.7045 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01844/0.3297, allocations: 7.838 MB / 0.7121 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.3297, allocations: 0 / 0.7121 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01248/0.3422, allocations: 4.239 MB / 0.7163 GB, free: 7.523 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000731/0.343, allocations: 247.1 kB / 0.7165 GB, free: 7.262 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002047/0.3432, allocations: 19.94 kB / 0.7165 GB, free: 7.242 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001275/0.3445, allocations: 99.89 kB / 0.7166 GB, free: 7.145 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006013/0.3451, allocations: 180.7 kB / 0.7168 GB, free: 6.965 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.243e-05/0.3452, allocations: 32 kB / 0.7168 GB, free: 6.934 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001166/0.3464, allocations: 0.8473 MB / 0.7176 GB, free: 6.082 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3464, allocations: 4 kB / 0.7176 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001449/0.3478, allocations: 479.7 kB / 0.7181 GB, free: 5.609 MB / 0.5137 GB 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.0003158/0.3482, allocations: 139.6 kB / 0.7182 GB, free: 5.461 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006939/0.3551, allocations: 2.465 MB / 0.7206 GB, free: 3 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.3552, allocations: 0 / 0.7206 GB, free: 3 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004329/0.3595, allocations: 1.356 MB / 0.722 GB, free: 1.625 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001301/0.3608, allocations: 104.7 kB / 0.7221 GB, free: 1.523 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005321/0.3661, allocations: 2.686 MB / 0.7247 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00075/0.3669, allocations: 1.112 MB / 0.7258 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005256/0.3675, allocations: 91.42 kB / 0.7259 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of SimCode: time 1.362e-06/0.3675, allocations: 0 / 0.7259 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of Templates: time 0.03177/0.3992, allocations: 21.37 MB / 0.7467 GB, free: 8.188 MB / 0.545 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.sim & ./OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe 2>&1)