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.06864/0.06864, allocations: 12.59 MB / 28.76 MB, free: 0.9844 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.0008745/0.0008745, allocations: 115.2 kB / 32.36 MB, free: 3.957 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.096/1.096, allocations: 205.1 MB / 241 MB, free: 12.43 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.001203/0.001203, allocations: 192.5 kB / 291.2 MB, free: 13.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3617/0.3617, allocations: 78.51 MB / 419.8 MB, free: 11.37 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.002394/0.002394, allocations: 133 kB / 0.4887 GB, free: 10.85 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2139/0.2163, allocations: 68.12 MB / 0.5552 GB, free: 32.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.005238/0.2216, allocations: 6.985 MB / 0.5621 GB, free: 27.44 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002705/0.2243, allocations: 2.26 MB / 0.5643 GB, free: 25.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003007/0.2246, allocations: 9.781 kB / 0.5643 GB, free: 25.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003745/0.225, allocations: 259.3 kB / 0.5645 GB, free: 25.45 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001919/0.2269, allocations: 1.255 MB / 0.5657 GB, free: 24.47 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006481/0.2276, allocations: 0.4919 MB / 0.5662 GB, free: 24.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001292/0.2289, allocations: 2.011 MB / 0.5682 GB, free: 22.92 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002971/0.2292, allocations: 260.5 kB / 0.5684 GB, free: 22.79 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005343/0.2297, allocations: 0.7733 MB / 0.5692 GB, free: 22.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007359/0.2305, allocations: 1.035 MB / 0.5702 GB, free: 21.6 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002146/0.2307, allocations: 159.8 kB / 0.5704 GB, free: 21.59 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004675/0.2312, allocations: 333.1 kB / 0.5707 GB, free: 21.51 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002185/0.2314, allocations: 400.5 kB / 0.5711 GB, free: 21.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000436/0.2318, allocations: 0.7748 MB / 0.5718 GB, free: 20.57 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001047/0.2329, allocations: 1.878 MB / 0.5736 GB, free: 19.16 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.2329, allocations: 0 / 0.5736 GB, free: 19.16 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2329, allocations: 0 / 0.5736 GB, free: 19.16 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.265e-05/0.2329, allocations: 0 / 0.5736 GB, free: 19.16 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.01305/0.246, allocations: 3.9 MB / 0.5775 GB, free: 16.71 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.776e-05/0.246, allocations: 11.98 kB / 0.5775 GB, free: 16.7 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00258/0.2486, allocations: 0.5182 MB / 0.578 GB, free: 16.18 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009483/0.2496, allocations: 0.9817 MB / 0.5789 GB, free: 15.14 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000186/0.2498, allocations: 230.9 kB / 0.5791 GB, free: 14.89 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001294/0.2499, allocations: 87.98 kB / 0.5792 GB, free: 14.8 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001595/0.2515, allocations: 0.9794 MB / 0.5802 GB, free: 13.82 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.2515, allocations: 0 / 0.5802 GB, free: 13.82 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-05/0.2516, allocations: 28 kB / 0.5802 GB, free: 13.79 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.2516, allocations: 20 kB / 0.5802 GB, free: 13.77 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002018/0.2536, allocations: 1.089 MB / 0.5813 GB, free: 12.68 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.004176/0.2578, allocations: 3.742 MB / 0.585 GB, free: 8.758 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002405/0.2602, allocations: 1.677 MB / 0.5866 GB, free: 6.965 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001172/0.2614, allocations: 0.7182 MB / 0.5873 GB, free: 6.242 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.071e-05/0.2615, allocations: 20.97 kB / 0.5873 GB, free: 6.223 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.415e-05/0.2615, allocations: 43.56 kB / 0.5874 GB, free: 6.172 MB / 398.1 MB Notification: Performance of pre-optimization done (n=103): time 2.044e-06/0.2615, allocations: 0 / 0.5874 GB, free: 6.172 MB / 398.1 MB Notification: Performance of matching and sorting (n=103): time 0.01821/0.2798, allocations: 5.604 MB / 0.5928 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.899e-05/0.2798, allocations: 64.41 kB / 0.5929 GB, free: 472 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001299/0.2811, allocations: 1.271 MB / 0.5941 GB, free: 15.18 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.914e-05/0.2812, allocations: 57.7 kB / 0.5942 GB, free: 15.11 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003154/0.2815, allocations: 473.6 kB / 0.5946 GB, free: 14.65 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003/0.2818, allocations: 398.5 kB / 0.595 GB, free: 14.25 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005604/0.2824, allocations: 375.4 kB / 0.5954 GB, free: 13.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.331e-05/0.2825, allocations: 301.1 kB / 0.5957 GB, free: 13.58 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00186/0.2843, allocations: 0.9488 MB / 0.5966 GB, free: 12.63 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001967/0.2863, allocations: 1.109 MB / 0.5977 GB, free: 11.49 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003555/0.2899, allocations: 1.931 MB / 0.5996 GB, free: 9.535 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.2899, allocations: 0 / 0.5996 GB, free: 9.535 MB / 414.1 MB Notification: Performance of matching and sorting (n=256) (initialization): time 0.005966/0.2959, allocations: 3.039 MB / 0.6025 GB, free: 6.484 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.2959, allocations: 8 kB / 0.6025 GB, free: 6.477 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.2959, allocations: 4 kB / 0.6025 GB, free: 6.473 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008108/0.304, allocations: 2.288 MB / 0.6048 GB, free: 4.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001374/0.3054, allocations: 355.5 kB / 0.6051 GB, free: 3.832 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004635/0.3101, allocations: 2.275 MB / 0.6073 GB, free: 1.535 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001645/0.3117, allocations: 214.3 kB / 0.6075 GB, free: 1.324 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001346/0.3119, allocations: 67.98 kB / 0.6076 GB, free: 1.258 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.0003876/0.3122, allocations: 265.5 kB / 0.6079 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002156/0.3125, allocations: 138.2 kB / 0.608 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01003/0.3225, allocations: 3.338 MB / 0.6112 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/0.3225, allocations: 16 kB / 0.6113 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.3225, allocations: 0 / 0.6113 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/0.3226, allocations: 3.984 kB / 0.6113 GB, free: 13.48 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.01154/0.3341, allocations: 5.039 MB / 0.6162 GB, free: 8.305 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.3341, allocations: 3.938 kB / 0.6162 GB, free: 8.301 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006764/0.3348, allocations: 131.8 kB / 0.6163 GB, free: 8.172 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004881/0.3397, allocations: 1.441 MB / 0.6177 GB, free: 6.727 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.17e-05/0.3398, allocations: 23.98 kB / 0.6177 GB, free: 6.703 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01717/0.3569, allocations: 7.84 MB / 0.6254 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.357, allocations: 4 kB / 0.6254 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01123/0.3682, allocations: 4.229 MB / 0.6295 GB, free: 10.46 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002621/0.3685, allocations: 251.1 kB / 0.6298 GB, free: 10.19 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001702/0.3687, allocations: 23.94 kB / 0.6298 GB, free: 10.17 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00111/0.3698, allocations: 99.83 kB / 0.6299 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004062/0.3702, allocations: 176.8 kB / 0.6301 GB, free: 9.898 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.574e-05/0.3703, allocations: 35.98 kB / 0.6301 GB, free: 9.863 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009714/0.3712, allocations: 0.8473 MB / 0.6309 GB, free: 9.012 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3712, allocations: 0 / 0.6309 GB, free: 9.012 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009748/0.3722, allocations: 471.7 kB / 0.6314 GB, free: 8.551 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.0002202/0.3725, allocations: 145 kB / 0.6315 GB, free: 8.398 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00659/0.3791, allocations: 2.492 MB / 0.6339 GB, free: 5.91 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3791, allocations: 0 / 0.6339 GB, free: 5.91 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003649/0.3827, allocations: 1.358 MB / 0.6353 GB, free: 4.543 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006771/0.3834, allocations: 104.7 kB / 0.6354 GB, free: 4.438 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004003/0.3874, allocations: 2.729 MB / 0.638 GB, free: 1.676 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005275/0.388, allocations: 1.112 MB / 0.6391 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003233/0.3883, allocations: 91.42 kB / 0.6392 GB, free: 456 kB / 446.1 MB Notification: Performance of SimCode: time 1.403e-06/0.3883, allocations: 0 / 0.6392 GB, free: 456 kB / 446.1 MB Notification: Performance of Templates: time 0.0209/0.4092, allocations: 21.27 MB / 0.66 GB, free: 11.2 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)