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-master/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-master/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-master/package.mo): time 0.1177/0.1177, allocations: 12.6 MB / 28.86 MB, free: 388 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 115.5 kB / 32.46 MB, free: 3.441 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.427/1.427, allocations: 205.1 MB / 241.1 MB, free: 12.41 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.001371/0.001371, allocations: 191.2 kB / 291.3 MB, free: 13.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4384/0.4384, allocations: 78.5 MB / 419.9 MB, free: 11.33 MB / 302.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.005177/0.005177, allocations: 139.8 kB / 0.4895 GB, free: 10.12 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3211/0.3263, allocations: 68.12 MB / 0.556 GB, free: 32.85 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.006968/0.3333, allocations: 6.983 MB / 0.5628 GB, free: 27.67 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004883/0.3382, allocations: 2.268 MB / 0.565 GB, free: 25.79 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009898/0.3392, allocations: 9.094 kB / 0.565 GB, free: 25.79 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005971/0.3399, allocations: 255.2 kB / 0.5653 GB, free: 25.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003067/0.343, allocations: 1.244 MB / 0.5665 GB, free: 24.61 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00107/0.3441, allocations: 0.4964 MB / 0.567 GB, free: 24.24 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002607/0.3467, allocations: 2.023 MB / 0.569 GB, free: 23.04 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004751/0.3472, allocations: 263.4 kB / 0.5692 GB, free: 22.9 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00109/0.3483, allocations: 0.7749 MB / 0.57 GB, free: 22.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001011/0.3493, allocations: 1.034 MB / 0.571 GB, free: 21.71 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002669/0.3496, allocations: 157 kB / 0.5711 GB, free: 21.71 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007159/0.3503, allocations: 329.6 kB / 0.5714 GB, free: 21.63 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002914/0.3506, allocations: 411.4 kB / 0.5718 GB, free: 21.28 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006075/0.3512, allocations: 0.7775 MB / 0.5726 GB, free: 20.68 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001739/0.3529, allocations: 1.89 MB / 0.5744 GB, free: 19.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.353, allocations: 0 / 0.5744 GB, free: 19.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.976e-06/0.353, allocations: 0 / 0.5744 GB, free: 19.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.791e-05/0.353, allocations: 9.219 kB / 0.5745 GB, free: 19.26 MB / 398.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.01486/0.3679, allocations: 3.895 MB / 0.5783 GB, free: 16.51 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.3679, allocations: 15.98 kB / 0.5783 GB, free: 16.49 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003069/0.371, allocations: 0.5143 MB / 0.5788 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001444/0.3725, allocations: 0.9778 MB / 0.5797 GB, free: 14.95 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002241/0.3727, allocations: 230.9 kB / 0.5799 GB, free: 14.69 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001589/0.3729, allocations: 91.98 kB / 0.58 GB, free: 14.6 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001761/0.3746, allocations: 0.9794 MB / 0.581 GB, free: 13.62 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.79e-05/0.3747, allocations: 0 / 0.581 GB, free: 13.62 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.752e-05/0.3747, allocations: 27.94 kB / 0.581 GB, free: 13.59 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.3748, allocations: 23.98 kB / 0.581 GB, free: 13.57 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002086/0.3769, allocations: 1.101 MB / 0.5821 GB, free: 12.46 MB / 398.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.005485/0.3824, allocations: 3.727 MB / 0.5858 GB, free: 8.559 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00255/0.3849, allocations: 1.666 MB / 0.5874 GB, free: 6.777 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00122/0.3862, allocations: 0.7066 MB / 0.5881 GB, free: 6.066 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000118/0.3863, allocations: 24.97 kB / 0.5881 GB, free: 6.043 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.3863, allocations: 43.56 kB / 0.5881 GB, free: 5.992 MB / 398.1 MB Notification: Performance of pre-optimization done (n=103): time 4.689e-06/0.3863, allocations: 3.984 kB / 0.5881 GB, free: 5.988 MB / 398.1 MB Notification: Performance of matching and sorting (n=103): time 0.01878/0.4051, allocations: 5.604 MB / 0.5936 GB, free: 356 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.107e-05/0.4052, allocations: 64.41 kB / 0.5937 GB, free: 280 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002088/0.4073, allocations: 1.279 MB / 0.5949 GB, free: 14.98 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003404/0.4077, allocations: 49.7 kB / 0.595 GB, free: 14.93 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004061/0.4081, allocations: 473.7 kB / 0.5954 GB, free: 14.46 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005205/0.4086, allocations: 394.5 kB / 0.5958 GB, free: 14.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007059/0.4093, allocations: 379.4 kB / 0.5962 GB, free: 13.69 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.4094, allocations: 305.1 kB / 0.5965 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00201/0.4115, allocations: 0.941 MB / 0.5974 GB, free: 12.45 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002079/0.4136, allocations: 1.113 MB / 0.5985 GB, free: 11.3 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003815/0.4174, allocations: 1.931 MB / 0.6003 GB, free: 9.348 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.4174, allocations: 0 / 0.6003 GB, free: 9.348 MB / 414.1 MB Notification: Performance of matching and sorting (n=256) (initialization): time 0.006555/0.424, allocations: 3.036 MB / 0.6033 GB, free: 6.301 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.424, allocations: 8 kB / 0.6033 GB, free: 6.293 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.424, allocations: 0 / 0.6033 GB, free: 6.293 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008648/0.4327, allocations: 2.276 MB / 0.6055 GB, free: 4.012 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001863/0.4346, allocations: 359.5 kB / 0.6059 GB, free: 3.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005097/0.4397, allocations: 2.271 MB / 0.6081 GB, free: 1.367 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002425/0.4422, allocations: 222.3 kB / 0.6083 GB, free: 1.148 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003104/0.4425, allocations: 71.86 kB / 0.6084 GB, free: 1.078 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.0005809/0.4431, allocations: 265.5 kB / 0.6086 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003701/0.4434, allocations: 138.2 kB / 0.6088 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01028/0.4537, allocations: 3.346 MB / 0.612 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.425e-05/0.4538, allocations: 8 kB / 0.612 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.4538, allocations: 0 / 0.612 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.691e-05/0.4538, allocations: 3.984 kB / 0.612 GB, free: 13.29 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.01219/0.466, allocations: 5.035 MB / 0.617 GB, free: 8.125 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.869e-06/0.4661, allocations: 0 / 0.617 GB, free: 8.125 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008616/0.4669, allocations: 135.8 kB / 0.6171 GB, free: 7.992 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005155/0.4721, allocations: 1.438 MB / 0.6185 GB, free: 6.555 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000161/0.4723, allocations: 23.98 kB / 0.6185 GB, free: 6.531 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01921/0.4915, allocations: 7.824 MB / 0.6262 GB, free: 14.56 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.4915, allocations: 0 / 0.6262 GB, free: 14.56 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01273/0.5043, allocations: 4.24 MB / 0.6303 GB, free: 10.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006481/0.505, allocations: 247.1 kB / 0.6305 GB, free: 10.04 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004066/0.5054, allocations: 27.94 kB / 0.6306 GB, free: 10.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001508/0.5069, allocations: 91.89 kB / 0.6307 GB, free: 9.918 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005625/0.5075, allocations: 180.8 kB / 0.6308 GB, free: 9.742 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.172e-05/0.5076, allocations: 27.98 kB / 0.6308 GB, free: 9.715 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001282/0.5089, allocations: 0.8473 MB / 0.6317 GB, free: 8.863 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5089, allocations: 0 / 0.6317 GB, free: 8.863 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001513/0.5104, allocations: 479.7 kB / 0.6321 GB, free: 8.395 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.0003213/0.5107, allocations: 145 kB / 0.6323 GB, free: 8.242 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007311/0.5181, allocations: 2.457 MB / 0.6347 GB, free: 5.785 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.84e-06/0.5181, allocations: 7.938 kB / 0.6347 GB, free: 5.777 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004178/0.5223, allocations: 1.373 MB / 0.636 GB, free: 4.398 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001054/0.5233, allocations: 108 kB / 0.6361 GB, free: 4.297 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005015/0.5284, allocations: 2.647 MB / 0.6387 GB, free: 1.625 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007325/0.5291, allocations: 1.116 MB / 0.6398 GB, free: 492 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005497/0.5297, allocations: 124.6 kB / 0.6399 GB, free: 364 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004323/0.5301, allocations: 87.42 kB / 0.64 GB, free: 276 kB / 446.1 MB Notification: Performance of SimCode: time 8.11e-07/0.5301, allocations: 0 / 0.64 GB, free: 276 kB / 446.1 MB Notification: Performance of Templates: time 0.04111/0.5713, allocations: 24.77 MB / 0.6642 GB, free: 7.535 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 -s gbode -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe 2>&1)