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.08176/0.08176, allocations: 12.6 MB / 28.9 MB, free: 0.6289 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.001184/0.001184, allocations: 111.5 kB / 32.5 MB, free: 3.57 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.367/1.367, allocations: 205.1 MB / 241.1 MB, free: 12.38 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.001631/0.001631, allocations: 192.5 kB / 291.4 MB, free: 13.4 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4572/0.4572, allocations: 78.51 MB / 420 MB, free: 11.23 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.002529/0.002529, allocations: 147.5 kB / 0.5565 GB, free: 28.62 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1318, allocations: 68.12 MB / 0.623 GB, free: 15.48 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.008036/0.1399, allocations: 7.004 MB / 0.6299 GB, free: 8.441 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00498/0.1449, allocations: 2.259 MB / 0.6321 GB, free: 6.176 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001284/0.1463, allocations: 12 kB / 0.6321 GB, free: 6.164 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008876/0.1472, allocations: 249.9 kB / 0.6323 GB, free: 5.918 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003779/0.151, allocations: 1.243 MB / 0.6335 GB, free: 4.68 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001301/0.1523, allocations: 0.495 MB / 0.634 GB, free: 4.188 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002866/0.1552, allocations: 2.022 MB / 0.636 GB, free: 2.16 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005373/0.1557, allocations: 264.8 kB / 0.6362 GB, free: 1.887 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001296/0.157, allocations: 0.7783 MB / 0.637 GB, free: 1.105 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00151/0.1585, allocations: 1.035 MB / 0.638 GB, free: 68 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004996/0.1591, allocations: 156 kB / 0.6382 GB, free: 15.91 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001/0.1601, allocations: 335.8 kB / 0.6385 GB, free: 15.59 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005538/0.1606, allocations: 402.5 kB / 0.6389 GB, free: 15.19 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00119/0.1618, allocations: 0.7887 MB / 0.6396 GB, free: 14.4 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002356/0.1642, allocations: 1.88 MB / 0.6415 GB, free: 12.51 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.1642, allocations: 0 / 0.6415 GB, free: 12.51 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1642, allocations: 0 / 0.6415 GB, free: 12.51 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.329e-05/0.1643, allocations: 0 / 0.6415 GB, free: 12.51 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.01569/0.18, allocations: 3.894 MB / 0.6453 GB, free: 8.559 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.1801, allocations: 15.98 kB / 0.6453 GB, free: 8.543 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003591/0.1837, allocations: 0.5181 MB / 0.6458 GB, free: 8.023 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002733/0.1864, allocations: 0.9856 MB / 0.6468 GB, free: 6.984 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004053/0.1869, allocations: 238.9 kB / 0.647 GB, free: 6.719 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003534/0.1872, allocations: 88 kB / 0.6471 GB, free: 6.633 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002232/0.1895, allocations: 0.9755 MB / 0.648 GB, free: 5.652 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.896e-05/0.1895, allocations: 4 kB / 0.648 GB, free: 5.648 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.38e-05/0.1896, allocations: 32 kB / 0.6481 GB, free: 5.617 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.728e-05/0.1896, allocations: 16 kB / 0.6481 GB, free: 5.602 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002494/0.1921, allocations: 1.085 MB / 0.6491 GB, free: 4.516 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.006976/0.1991, allocations: 3.731 MB / 0.6528 GB, free: 0.6094 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00303/0.2022, allocations: 1.674 MB / 0.6544 GB, free: 14.82 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001394/0.2036, allocations: 0.7119 MB / 0.6551 GB, free: 14.11 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001051/0.2037, allocations: 20.97 kB / 0.6551 GB, free: 14.09 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/0.2038, allocations: 43.56 kB / 0.6552 GB, free: 14.03 MB / 478.1 MB Notification: Performance of pre-optimization done (n=103): time 2.876e-06/0.2038, allocations: 0 / 0.6552 GB, free: 14.03 MB / 478.1 MB Notification: Performance of matching and sorting (n=103): time 0.02097/0.2247, allocations: 5.596 MB / 0.6606 GB, free: 8.402 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.822e-05/0.2248, allocations: 60.41 kB / 0.6607 GB, free: 8.332 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002236/0.2271, allocations: 1.287 MB / 0.6619 GB, free: 7.035 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002692/0.2274, allocations: 49.7 kB / 0.662 GB, free: 6.98 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004984/0.2279, allocations: 469.7 kB / 0.6624 GB, free: 6.516 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005333/0.2284, allocations: 398.5 kB / 0.6628 GB, free: 6.121 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009193/0.2294, allocations: 391.3 kB / 0.6632 GB, free: 5.73 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.795e-05/0.2295, allocations: 301.1 kB / 0.6635 GB, free: 5.434 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002111/0.2316, allocations: 0.9449 MB / 0.6644 GB, free: 4.484 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002208/0.2338, allocations: 1.105 MB / 0.6655 GB, free: 3.348 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003782/0.2376, allocations: 1.935 MB / 0.6674 GB, free: 1.391 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/0.2376, allocations: 0 / 0.6674 GB, free: 1.391 MB / 478.1 MB Notification: Performance of matching and sorting (n=256) (initialization): time 0.006699/0.2443, allocations: 3.043 MB / 0.6703 GB, free: 14.33 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.582e-05/0.2444, allocations: 12.12 kB / 0.6704 GB, free: 14.32 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/0.2444, allocations: 0 / 0.6704 GB, free: 14.32 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008708/0.2531, allocations: 2.272 MB / 0.6726 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001737/0.2549, allocations: 363.5 kB / 0.6729 GB, free: 11.69 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005407/0.2603, allocations: 2.276 MB / 0.6751 GB, free: 9.387 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002466/0.2628, allocations: 218.3 kB / 0.6754 GB, free: 9.172 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003016/0.2631, allocations: 63.98 kB / 0.6754 GB, free: 9.109 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.0007571/0.2639, allocations: 261.5 kB / 0.6757 GB, free: 8.844 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00057/0.2645, allocations: 142.2 kB / 0.6758 GB, free: 8.703 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01064/0.2751, allocations: 3.346 MB / 0.6791 GB, free: 5.344 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-05/0.2752, allocations: 8 kB / 0.6791 GB, free: 5.336 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.828e-06/0.2752, allocations: 4 kB / 0.6791 GB, free: 5.332 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-05/0.2752, allocations: 3.984 kB / 0.6791 GB, free: 5.328 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.01317/0.2884, allocations: 5.027 MB / 0.684 GB, free: 168 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.12e-05/0.2884, allocations: 8 kB / 0.684 GB, free: 160 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008138/0.2893, allocations: 135.8 kB / 0.6841 GB, free: 24 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005129/0.2944, allocations: 1.434 MB / 0.6855 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001489/0.2946, allocations: 24 kB / 0.6856 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0189/0.3135, allocations: 7.836 MB / 0.6932 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.3136, allocations: 0 / 0.6932 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01249/0.3261, allocations: 4.232 MB / 0.6973 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005985/0.3267, allocations: 255.1 kB / 0.6976 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004183/0.3271, allocations: 23.94 kB / 0.6976 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001513/0.3287, allocations: 87.91 kB / 0.6977 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006028/0.3293, allocations: 184.7 kB / 0.6979 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.39e-05/0.3294, allocations: 28 kB / 0.6979 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001473/0.3309, allocations: 0.8473 MB / 0.6987 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.583e-06/0.3309, allocations: 112 / 0.6987 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001788/0.3327, allocations: 483.8 kB / 0.6992 GB, free: 420 kB / 0.4981 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.000362/0.3331, allocations: 143.1 kB / 0.6993 GB, free: 264 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007163/0.3402, allocations: 2.461 MB / 0.7017 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.3403, allocations: 0 / 0.7017 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003978/0.3442, allocations: 1.348 MB / 0.703 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001221/0.3455, allocations: 108.6 kB / 0.7031 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005093/0.3506, allocations: 2.689 MB / 0.7058 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006843/0.3513, allocations: 1.12 MB / 0.7069 GB, free: 8.457 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004596/0.3518, allocations: 87.42 kB / 0.7069 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of SimCode: time 9.52e-07/0.3518, allocations: 3.938 kB / 0.7069 GB, free: 8.367 MB / 0.5137 GB Notification: Performance of Templates: time 0.3254/0.6772, allocations: 21.56 MB / 0.728 GB, free: 81.56 MB / 0.5137 GB 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)