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.06439/0.06439, allocations: 12.21 MB / 27.16 MB, free: 112 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.0008626/0.0008626, allocations: 110 kB / 30.67 MB, free: 6.422 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.218/1.218, allocations: 205.4 MB / 239.5 MB, free: 10.66 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 177.1 kB / 290.6 MB, free: 8.109 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3994/0.3994, allocations: 78.49 MB / 420.1 MB, free: 6.609 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.0008009/0.000801, allocations: 29 kB / 0.4894 GB, free: 37.99 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1019, allocations: 69.25 MB / 0.557 GB, free: 8.891 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.005883/0.1078, allocations: 6.046 MB / 0.5629 GB, free: 2.816 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003691/0.1115, allocations: 2.21 MB / 0.5651 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004307/0.112, allocations: 8 kB / 0.5651 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003847/0.1124, allocations: 178.7 kB / 0.5653 GB, free: 424 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002267/0.1147, allocations: 1.086 MB / 0.5663 GB, free: 15.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007876/0.1155, allocations: 430.8 kB / 0.5667 GB, free: 14.92 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001421/0.1169, allocations: 1.241 MB / 0.5679 GB, free: 13.68 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003189/0.1172, allocations: 218.9 kB / 0.5681 GB, free: 13.45 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006179/0.1178, allocations: 0.65 MB / 0.5688 GB, free: 12.8 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009075/0.1188, allocations: 0.9223 MB / 0.5697 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001748/0.1189, allocations: 84 kB / 0.5698 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004758/0.1194, allocations: 223.8 kB / 0.57 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000261/0.1197, allocations: 318.8 kB / 0.5703 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002032/0.1199, allocations: 240.9 kB / 0.5705 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001104/0.121, allocations: 1.36 MB / 0.5718 GB, free: 9.656 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.121, allocations: 4 kB / 0.5718 GB, free: 9.652 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.121, allocations: 0 / 0.5718 GB, free: 9.652 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.465e-05/0.1211, allocations: 0 / 0.5718 GB, free: 9.652 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.01355/0.1346, allocations: 3.77 MB / 0.5755 GB, free: 5.824 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.1347, allocations: 15.98 kB / 0.5755 GB, free: 5.809 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00301/0.1377, allocations: 0.5173 MB / 0.576 GB, free: 5.289 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001415/0.1391, allocations: 0.9436 MB / 0.577 GB, free: 4.293 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002515/0.1394, allocations: 242.9 kB / 0.5772 GB, free: 4.027 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001582/0.1395, allocations: 87.98 kB / 0.5773 GB, free: 3.941 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001918/0.1415, allocations: 1.03 MB / 0.5783 GB, free: 2.906 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.1415, allocations: 3.938 kB / 0.5783 GB, free: 2.902 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.564e-05/0.1416, allocations: 32 kB / 0.5783 GB, free: 2.871 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.351e-05/0.1416, allocations: 20 kB / 0.5783 GB, free: 2.852 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002366/0.144, allocations: 1.167 MB / 0.5795 GB, free: 1.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.005881/0.1499, allocations: 3.909 MB / 0.5833 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002876/0.1528, allocations: 1.749 MB / 0.585 GB, free: 11.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001008/0.1529, allocations: 20.94 kB / 0.585 GB, free: 11.69 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/0.1529, allocations: 47.56 kB / 0.5851 GB, free: 11.64 MB / 414.1 MB Notification: Performance of pre-optimization done (n=103): time 2.885e-06/0.1529, allocations: 0 / 0.5851 GB, free: 11.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=103): time 0.02147/0.1744, allocations: 6.59 MB / 0.5915 GB, free: 5.012 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/0.1745, allocations: 60.41 kB / 0.5916 GB, free: 4.938 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001617/0.1761, allocations: 1.264 MB / 0.5928 GB, free: 3.664 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00017/0.1763, allocations: 53.7 kB / 0.5928 GB, free: 3.605 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003296/0.1766, allocations: 477.6 kB / 0.5933 GB, free: 3.133 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003426/0.177, allocations: 394.5 kB / 0.5937 GB, free: 2.742 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/0.1771, allocations: 44 kB / 0.5937 GB, free: 2.699 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.1772, allocations: 385.8 kB / 0.5941 GB, free: 2.316 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001926/0.1792, allocations: 0.9957 MB / 0.5951 GB, free: 1.316 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001994/0.1812, allocations: 1.156 MB / 0.5962 GB, free: 132 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002056/0.1832, allocations: 1.084 MB / 0.5972 GB, free: 15.04 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.1833, allocations: 0 / 0.5972 GB, free: 15.04 MB / 430.1 MB Notification: Performance of matching and sorting (n=256) (initialization): time 0.006167/0.1894, allocations: 3.141 MB / 0.6003 GB, free: 11.89 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.823e-05/0.1895, allocations: 4 kB / 0.6003 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.1895, allocations: 0 / 0.6003 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0087/0.1982, allocations: 2.522 MB / 0.6028 GB, free: 9.355 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001752/0.2, allocations: 359.5 kB / 0.6031 GB, free: 9.004 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005161/0.2052, allocations: 2.475 MB / 0.6055 GB, free: 6.508 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002091/0.2073, allocations: 250.3 kB / 0.6058 GB, free: 6.262 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001932/0.2075, allocations: 63.98 kB / 0.6058 GB, free: 6.199 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {24 29} Notification: Performance of prepare postOptimizeDAE: time 0.0005108/0.208, allocations: 261.5 kB / 0.6061 GB, free: 5.934 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002656/0.2083, allocations: 138.3 kB / 0.6062 GB, free: 5.797 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01084/0.2191, allocations: 3.971 MB / 0.6101 GB, free: 1.812 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.28e-05/0.2192, allocations: 8 kB / 0.6101 GB, free: 1.805 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.2192, allocations: 0 / 0.6101 GB, free: 1.805 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.398e-05/0.2192, allocations: 7.984 kB / 0.6101 GB, free: 1.797 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.01276/0.232, allocations: 5.653 MB / 0.6156 GB, free: 12.01 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/0.232, allocations: 0 / 0.6156 GB, free: 12.01 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007587/0.2328, allocations: 135.8 kB / 0.6158 GB, free: 11.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005284/0.2381, allocations: 1.672 MB / 0.6174 GB, free: 10.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.968e-05/0.2382, allocations: 24 kB / 0.6174 GB, free: 10.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01823/0.2564, allocations: 8.224 MB / 0.6255 GB, free: 1.812 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.2565, allocations: 0 / 0.6255 GB, free: 1.812 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01255/0.269, allocations: 4.917 MB / 0.6303 GB, free: 12.87 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004748/0.2695, allocations: 247.1 kB / 0.6305 GB, free: 12.61 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002759/0.2698, allocations: 23.94 kB / 0.6305 GB, free: 12.59 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001289/0.2711, allocations: 127.9 kB / 0.6306 GB, free: 12.46 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004812/0.2716, allocations: 184.8 kB / 0.6308 GB, free: 12.28 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.92e-05/0.2717, allocations: 27.94 kB / 0.6308 GB, free: 12.25 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001091/0.2728, allocations: 0.8395 MB / 0.6317 GB, free: 11.41 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2728, allocations: 0 / 0.6317 GB, free: 11.41 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001245/0.2741, allocations: 487.5 kB / 0.6321 GB, free: 10.93 MB / 462.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {14 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002529/0.2743, allocations: 143.1 kB / 0.6323 GB, free: 10.79 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006815/0.2812, allocations: 2.646 MB / 0.6348 GB, free: 8.141 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.2812, allocations: 0 / 0.6348 GB, free: 8.141 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00415/0.2853, allocations: 1.496 MB / 0.6363 GB, free: 6.637 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008426/0.2862, allocations: 84.75 kB / 0.6364 GB, free: 6.555 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004959/0.2912, allocations: 3.171 MB / 0.6395 GB, free: 3.355 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006086/0.2918, allocations: 1.144 MB / 0.6406 GB, free: 2.18 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005205/0.2924, allocations: 124.7 kB / 0.6407 GB, free: 2.055 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003597/0.2927, allocations: 79.42 kB / 0.6408 GB, free: 1.977 MB / 462.1 MB Notification: Performance of SimCode: time 5.61e-07/0.2927, allocations: 0 / 0.6408 GB, free: 1.977 MB / 462.1 MB Notification: Performance of Templates: time 0.2185/0.5112, allocations: 21.15 MB / 0.6615 GB, free: 96.17 MB / 478.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: