Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Line_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.Line_Aggregation.Reference_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_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_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08405/0.08405, allocations: 12.19 MB / 27.31 MB, free: 1.418 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.001005/0.001005, allocations: 112.3 kB / 30.83 MB, free: 4.699 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.408/1.408, allocations: 205.1 MB / 239.3 MB, free: 11.62 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.001268/0.001268, allocations: 184.6 kB / 289.5 MB, free: 15.97 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4815/0.4815, allocations: 78.5 MB / 418 MB, free: 31.79 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.002286/0.002286, allocations: 123.8 kB / 498.2 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4054/0.4077, allocations: 68.03 MB / 0.553 GB, free: 37.69 MB / 414.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.007187/0.415, allocations: 7.247 MB / 0.56 GB, free: 32.36 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006011/0.421, allocations: 2.284 MB / 0.5623 GB, free: 30.74 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001432/0.4225, allocations: 11.56 kB / 0.5623 GB, free: 30.74 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000747/0.4233, allocations: 205.4 kB / 0.5625 GB, free: 30.65 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00309/0.4264, allocations: 1.131 MB / 0.5636 GB, free: 29.94 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001397/0.4278, allocations: 471.8 kB / 0.564 GB, free: 29.7 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003012/0.4308, allocations: 1.921 MB / 0.5659 GB, free: 28.84 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005606/0.4314, allocations: 242.5 kB / 0.5661 GB, free: 28.73 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001451/0.4329, allocations: 0.6955 MB / 0.5668 GB, free: 28.44 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001078/0.434, allocations: 0.9756 MB / 0.5678 GB, free: 28.02 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001974/0.4342, allocations: 91.72 kB / 0.5679 GB, free: 28.02 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000755/0.4349, allocations: 265.6 kB / 0.5681 GB, free: 27.96 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002814/0.4352, allocations: 342.2 kB / 0.5684 GB, free: 27.77 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005838/0.4358, allocations: 0.7107 MB / 0.5691 GB, free: 27.33 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001682/0.4375, allocations: 1.815 MB / 0.5709 GB, free: 26.56 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.337e-06/0.4375, allocations: 2.625 kB / 0.5709 GB, free: 26.56 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4375, allocations: 0 / 0.5709 GB, free: 26.56 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.451e-05/0.4376, allocations: 0 / 0.5709 GB, free: 26.56 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: 175 * Number of variables: 175 Notification: Performance of Generate backend data structure: time 0.01649/0.4541, allocations: 3.895 MB / 0.5747 GB, free: 25.16 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.674e-05/0.4541, allocations: 13.03 kB / 0.5747 GB, free: 25.16 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003357/0.4575, allocations: 0.517 MB / 0.5752 GB, free: 25.03 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001819/0.4593, allocations: 0.9827 MB / 0.5762 GB, free: 24.37 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002856/0.4596, allocations: 234.3 kB / 0.5764 GB, free: 24.18 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001797/0.4598, allocations: 87.27 kB / 0.5765 GB, free: 24.15 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002452/0.4623, allocations: 0.9825 MB / 0.5775 GB, free: 23.79 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/0.4623, allocations: 5.344 kB / 0.5775 GB, free: 23.79 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.83e-05/0.4624, allocations: 25.34 kB / 0.5775 GB, free: 23.77 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.01e-05/0.4624, allocations: 16.44 kB / 0.5775 GB, free: 23.77 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002774/0.4652, allocations: 1.088 MB / 0.5786 GB, free: 23.43 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.007836/0.4731, allocations: 3.748 MB / 0.5822 GB, free: 21.26 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003462/0.4766, allocations: 1.675 MB / 0.5839 GB, free: 20.25 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001667/0.4782, allocations: 0.7079 MB / 0.5845 GB, free: 19.98 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001286/0.4784, allocations: 26.27 kB / 0.5846 GB, free: 19.96 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.682e-05/0.4784, allocations: 40.81 kB / 0.5846 GB, free: 19.92 MB / 414.1 MB Notification: Performance of pre-optimization done (n=103): time 3.847e-06/0.4784, allocations: 0 / 0.5846 GB, free: 19.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=103): time 0.02345/0.5019, allocations: 5.598 MB / 0.5901 GB, free: 17.5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.594e-05/0.502, allocations: 62.78 kB / 0.5901 GB, free: 17.44 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003173/0.5052, allocations: 1.274 MB / 0.5914 GB, free: 16.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004253/0.5057, allocations: 52.11 kB / 0.5914 GB, free: 16.68 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005514/0.5062, allocations: 482.1 kB / 0.5919 GB, free: 16.25 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007125/0.5069, allocations: 393.9 kB / 0.5923 GB, free: 15.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00179/0.5087, allocations: 384.4 kB / 0.5926 GB, free: 15.69 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.5089, allocations: 306.2 kB / 0.5929 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002747/0.5117, allocations: 0.9395 MB / 0.5938 GB, free: 14.91 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002818/0.5145, allocations: 1.11 MB / 0.5949 GB, free: 14.29 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004925/0.5194, allocations: 1.928 MB / 0.5968 GB, free: 13.27 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.467e-05/0.5195, allocations: 1.219 kB / 0.5968 GB, free: 13.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=256) (initialization): time 0.006934/0.5264, allocations: 3.045 MB / 0.5998 GB, free: 10.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.657e-05/0.5265, allocations: 8.188 kB / 0.5998 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.5265, allocations: 7.984 kB / 0.5998 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008302/0.5348, allocations: 2.276 MB / 0.602 GB, free: 8.199 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001851/0.5367, allocations: 359.4 kB / 0.6024 GB, free: 7.848 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004803/0.5415, allocations: 2.273 MB / 0.6046 GB, free: 5.551 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00291/0.5444, allocations: 218.3 kB / 0.6048 GB, free: 5.336 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003842/0.5448, allocations: 67.98 kB / 0.6049 GB, free: 5.27 MB / 414.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.001012/0.5459, allocations: 270.3 kB / 0.6051 GB, free: 4.996 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000604/0.5465, allocations: 134.2 kB / 0.6052 GB, free: 4.863 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01025/0.5567, allocations: 3.349 MB / 0.6085 GB, free: 1.496 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.865e-05/0.5568, allocations: 12 kB / 0.6085 GB, free: 1.484 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.5568, allocations: 0 / 0.6085 GB, free: 1.484 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-05/0.5568, allocations: 11.97 kB / 0.6085 GB, free: 1.473 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 postOpt removeSimpleEquations (simulation): time 0.01436/0.5712, allocations: 5.027 MB / 0.6134 GB, free: 12.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.737e-05/0.5713, allocations: 4 kB / 0.6134 GB, free: 12.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001001/0.5723, allocations: 127.8 kB / 0.6136 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005644/0.578, allocations: 1.445 MB / 0.615 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002833/0.5783, allocations: 23.97 kB / 0.615 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01895/0.5972, allocations: 7.141 MB / 0.622 GB, free: 3.43 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.5973, allocations: 3.938 kB / 0.622 GB, free: 3.426 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01318/0.6105, allocations: 4.241 MB / 0.6261 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007467/0.6113, allocations: 251.1 kB / 0.6264 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005506/0.6118, allocations: 20 kB / 0.6264 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001712/0.6136, allocations: 87.91 kB / 0.6265 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007221/0.6143, allocations: 184.6 kB / 0.6266 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001356/0.6145, allocations: 24 kB / 0.6267 GB, free: 14.59 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001612/0.6161, allocations: 0.8512 MB / 0.6275 GB, free: 13.73 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.6161, allocations: 0 / 0.6275 GB, free: 13.73 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002073/0.6182, allocations: 475.7 kB / 0.628 GB, free: 13.27 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.0004045/0.6186, allocations: 148.2 kB / 0.6281 GB, free: 13.11 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007607/0.6262, allocations: 2.431 MB / 0.6305 GB, free: 10.68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.6263, allocations: 8 kB / 0.6305 GB, free: 10.68 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004456/0.6307, allocations: 1.336 MB / 0.6318 GB, free: 9.332 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001816/0.6326, allocations: 104.5 kB / 0.6319 GB, free: 9.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006511/0.6391, allocations: 3.091 MB / 0.6349 GB, free: 6.117 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009502/0.6401, allocations: 1.117 MB / 0.636 GB, free: 4.969 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008126/0.641, allocations: 132.6 kB / 0.6361 GB, free: 4.836 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000574/0.6416, allocations: 79.42 kB / 0.6362 GB, free: 4.758 MB / 446.1 MB Notification: Performance of SimCode: time 1.032e-06/0.6416, allocations: 0 / 0.6362 GB, free: 4.758 MB / 446.1 MB Notification: Performance of Templates: time 0.04146/0.683, allocations: 22.32 MB / 0.658 GB, free: 14.45 MB / 478.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe 2>&1)