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.1256/0.1256, allocations: 12.58 MB / 28.22 MB, free: 0.7305 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.001217/0.001218, allocations: 111.4 kB / 31.84 MB, free: 3.875 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.619/1.619, allocations: 205.1 MB / 240.4 MB, free: 12.36 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.001567/0.001567, allocations: 196.4 kB / 290.7 MB, free: 10.95 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4831/0.4831, allocations: 78.51 MB / 419.3 MB, free: 10.76 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.002612/0.002612, allocations: 139.8 kB / 0.5558 GB, free: 17.33 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1598, allocations: 68.12 MB / 0.6224 GB, free: 13.18 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.01057/0.1704, allocations: 6.993 MB / 0.6292 GB, free: 6.156 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005558/0.176, allocations: 2.267 MB / 0.6314 GB, free: 3.883 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001777/0.1778, allocations: 11.94 kB / 0.6314 GB, free: 3.871 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001137/0.179, allocations: 257.8 kB / 0.6317 GB, free: 3.617 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004324/0.1833, allocations: 1.287 MB / 0.6329 GB, free: 2.336 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001534/0.1849, allocations: 0.4948 MB / 0.6334 GB, free: 1.844 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00442/0.1893, allocations: 2.01 MB / 0.6354 GB, free: 15.83 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009809/0.1903, allocations: 268.7 kB / 0.6356 GB, free: 15.55 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002096/0.1924, allocations: 0.7745 MB / 0.6364 GB, free: 14.78 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002573/0.195, allocations: 1.035 MB / 0.6374 GB, free: 13.74 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00088/0.1959, allocations: 156 kB / 0.6375 GB, free: 13.59 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001409/0.1973, allocations: 331.8 kB / 0.6379 GB, free: 13.26 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007188/0.1981, allocations: 410.4 kB / 0.6382 GB, free: 12.86 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001608/0.1997, allocations: 0.777 MB / 0.639 GB, free: 12.08 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003153/0.2029, allocations: 1.902 MB / 0.6409 GB, free: 10.17 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.2029, allocations: 4 kB / 0.6409 GB, free: 10.16 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.2029, allocations: 3.938 kB / 0.6409 GB, free: 10.16 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.919e-05/0.203, allocations: 4 kB / 0.6409 GB, free: 10.16 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.01573/0.2187, allocations: 3.932 MB / 0.6447 GB, free: 6.164 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.2188, allocations: 11.98 kB / 0.6447 GB, free: 6.152 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003321/0.2221, allocations: 0.5268 MB / 0.6452 GB, free: 5.625 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001885/0.224, allocations: 0.9866 MB / 0.6462 GB, free: 4.586 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003195/0.2244, allocations: 234.9 kB / 0.6464 GB, free: 4.324 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002453/0.2246, allocations: 92 kB / 0.6465 GB, free: 4.234 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002198/0.2268, allocations: 0.9755 MB / 0.6475 GB, free: 3.254 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.984e-05/0.2268, allocations: 4 kB / 0.6475 GB, free: 3.25 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.851e-05/0.2269, allocations: 24 kB / 0.6475 GB, free: 3.227 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.106e-05/0.227, allocations: 23.94 kB / 0.6475 GB, free: 3.203 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002534/0.2295, allocations: 1.093 MB / 0.6486 GB, free: 2.109 MB / 462.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.00643/0.236, allocations: 3.739 MB / 0.6522 GB, free: 14.2 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003157/0.2391, allocations: 1.674 MB / 0.6539 GB, free: 12.41 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001532/0.2407, allocations: 0.7158 MB / 0.6546 GB, free: 11.69 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000127/0.2408, allocations: 24.97 kB / 0.6546 GB, free: 11.66 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.774e-05/0.2409, allocations: 43.56 kB / 0.6546 GB, free: 11.61 MB / 478.1 MB Notification: Performance of pre-optimization done (n=103): time 2.444e-06/0.2409, allocations: 0 / 0.6546 GB, free: 11.61 MB / 478.1 MB Notification: Performance of matching and sorting (n=103): time 0.02194/0.2628, allocations: 5.601 MB / 0.6601 GB, free: 5.977 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.336e-05/0.2629, allocations: 64.39 kB / 0.6602 GB, free: 5.902 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002784/0.2657, allocations: 1.279 MB / 0.6614 GB, free: 4.613 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000275/0.266, allocations: 49.7 kB / 0.6615 GB, free: 4.559 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005747/0.2666, allocations: 486.2 kB / 0.6619 GB, free: 4.078 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005786/0.2672, allocations: 404.6 kB / 0.6623 GB, free: 3.68 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001025/0.2682, allocations: 387.4 kB / 0.6627 GB, free: 3.293 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.2684, allocations: 305.1 kB / 0.663 GB, free: 2.992 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002251/0.2706, allocations: 0.941 MB / 0.6639 GB, free: 2.047 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002342/0.273, allocations: 1.105 MB / 0.665 GB, free: 0.9062 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004589/0.2776, allocations: 1.939 MB / 0.6669 GB, free: 14.94 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/0.2776, allocations: 3.828 kB / 0.6669 GB, free: 14.94 MB / 494.1 MB Notification: Performance of matching and sorting (n=256) (initialization): time 0.007673/0.2853, allocations: 3.044 MB / 0.6698 GB, free: 11.88 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.608e-05/0.2853, allocations: 4 kB / 0.6698 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.526e-05/0.2854, allocations: 4 kB / 0.6698 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009249/0.2946, allocations: 2.28 MB / 0.6721 GB, free: 9.59 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001947/0.2966, allocations: 355.5 kB / 0.6724 GB, free: 9.242 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005645/0.3023, allocations: 2.276 MB / 0.6746 GB, free: 6.941 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00236/0.3047, allocations: 226.7 kB / 0.6748 GB, free: 6.719 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003244/0.305, allocations: 63.98 kB / 0.6749 GB, free: 6.656 MB / 494.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.0007262/0.3057, allocations: 265.5 kB / 0.6752 GB, free: 6.387 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004649/0.3062, allocations: 143 kB / 0.6753 GB, free: 6.246 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01104/0.3173, allocations: 3.35 MB / 0.6786 GB, free: 2.883 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.066e-05/0.3173, allocations: 12 kB / 0.6786 GB, free: 2.871 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/0.3173, allocations: 0 / 0.6786 GB, free: 2.871 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.985e-05/0.3174, allocations: 3.984 kB / 0.6786 GB, free: 2.867 MB / 494.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.3725/0.6899, allocations: 5.028 MB / 0.6835 GB, free: 53.42 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.411e-05/0.69, allocations: 0 / 0.6835 GB, free: 53.42 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009423/0.6909, allocations: 137 kB / 0.6836 GB, free: 53.42 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005699/0.6966, allocations: 1.439 MB / 0.685 GB, free: 53.41 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001998/0.6968, allocations: 21.66 kB / 0.6851 GB, free: 53.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01998/0.7168, allocations: 7.836 MB / 0.6927 GB, free: 50.21 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.7169, allocations: 1.312 kB / 0.6927 GB, free: 50.21 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01388/0.7308, allocations: 4.239 MB / 0.6968 GB, free: 49 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006351/0.7315, allocations: 257.2 kB / 0.6971 GB, free: 48.81 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001879/0.7317, allocations: 24.94 kB / 0.6971 GB, free: 48.79 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001217/0.7329, allocations: 94.06 kB / 0.6972 GB, free: 48.77 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006678/0.7336, allocations: 189.8 kB / 0.6974 GB, free: 48.72 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.772e-05/0.7337, allocations: 27.69 kB / 0.6974 GB, free: 48.71 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001068/0.7347, allocations: 0.8493 MB / 0.6982 GB, free: 48.36 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.7347, allocations: 0 / 0.6982 GB, free: 48.36 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001806/0.7366, allocations: 482.7 kB / 0.6987 GB, free: 48.29 MB / 494.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.0003639/0.7369, allocations: 144.1 kB / 0.6988 GB, free: 48.18 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007605/0.7445, allocations: 2.457 MB / 0.7012 GB, free: 47.42 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.7446, allocations: 0 / 0.7012 GB, free: 47.42 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004327/0.7489, allocations: 1.363 MB / 0.7026 GB, free: 46.9 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00127/0.7502, allocations: 113.7 kB / 0.7027 GB, free: 46.83 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004839/0.755, allocations: 2.687 MB / 0.7053 GB, free: 45.28 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005825/0.7556, allocations: 1.116 MB / 0.7064 GB, free: 44.55 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005663/0.7562, allocations: 125.7 kB / 0.7065 GB, free: 44.53 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003058/0.7565, allocations: 86.2 kB / 0.7066 GB, free: 44.52 MB / 494.1 MB Notification: Performance of SimCode: time 8.81e-07/0.7565, allocations: 0 / 0.7066 GB, free: 44.52 MB / 494.1 MB Notification: Performance of Templates: time 0.03363/0.7902, allocations: 25.05 MB / 0.7311 GB, free: 24.22 MB / 494.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)