Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.conf.json 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/Modelica 4.0.0+maint.om/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/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/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) Running command: translateModel(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.301/1.301, allocations: 221.4 MB / 234.6 MB, free: 14.46 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008735/0.0008734, allocations: 94.64 kB / 285.6 MB, free: 13.02 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4214/0.4214, allocations: 78.02 MB / 414.5 MB, free: 10.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.848e-05/2.851e-05, allocations: 4 kB / 491.8 MB, free: 13.91 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.301/0.301, allocations: 69.34 MB / 0.548 GB, free: 20.12 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1154/0.4165, allocations: 104 MB / 0.6495 GB, free: 12.43 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001941/0.4167, allocations: 75.95 kB / 0.6496 GB, free: 12.35 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3475/0.7642, allocations: 39.22 MB / 0.6879 GB, free: 108.3 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.7643, allocations: 1.422 kB / 0.6879 GB, free: 108.3 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.361e-05/0.7643, allocations: 19.75 kB / 0.6879 GB, free: 108.3 MB / 490.7 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.0037/0.768, allocations: 1.68 MB / 0.6896 GB, free: 107.6 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.7681, allocations: 10.72 kB / 0.6896 GB, free: 107.6 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002045/0.7701, allocations: 405.2 kB / 0.6899 GB, free: 107.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001232/0.7714, allocations: 0.8557 MB / 0.6908 GB, free: 107.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002153/0.7716, allocations: 231.8 kB / 0.691 GB, free: 107 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001322/0.7718, allocations: 76.5 kB / 0.6911 GB, free: 107 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001262/0.773, allocations: 0.8204 MB / 0.6919 GB, free: 106.9 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/0.773, allocations: 1.125 kB / 0.6919 GB, free: 106.9 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.337e-05/0.7731, allocations: 26 kB / 0.6919 GB, free: 106.9 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.7732, allocations: 17.31 kB / 0.6919 GB, free: 106.9 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001292/0.7744, allocations: 0.8635 MB / 0.6928 GB, free: 106.7 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.004974/0.7794, allocations: 3.574 MB / 0.6963 GB, free: 104.7 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001725/0.7812, allocations: 1.446 MB / 0.6977 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007161/0.7819, allocations: 0.5565 MB / 0.6982 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000114/0.782, allocations: 19.22 kB / 0.6982 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/0.7821, allocations: 43.41 kB / 0.6983 GB, free: 103.4 MB / 490.7 MB Notification: Performance of pre-optimization done (n=103): time 3.206e-06/0.7821, allocations: 0 / 0.6983 GB, free: 103.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=103): time 0.00881/0.7909, allocations: 3.273 MB / 0.7015 GB, free: 102.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.272e-05/0.7909, allocations: 65.47 kB / 0.7015 GB, free: 102.6 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001324/0.7923, allocations: 1.043 MB / 0.7025 GB, free: 102.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001434/0.7924, allocations: 41.45 kB / 0.7026 GB, free: 102.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002593/0.7927, allocations: 0.5165 MB / 0.7031 GB, free: 101.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002673/0.793, allocations: 368.2 kB / 0.7034 GB, free: 101.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.357e-05/0.793, allocations: 21.75 kB / 0.7035 GB, free: 101.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.573e-05/0.7931, allocations: 340.1 kB / 0.7038 GB, free: 101.1 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006664/0.7938, allocations: 432.4 kB / 0.7042 GB, free: 100.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006734/0.7945, allocations: 0.5239 MB / 0.7047 GB, free: 100.6 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006813/0.7951, allocations: 466 kB / 0.7052 GB, free: 100.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.7952, allocations: 0 / 0.7052 GB, free: 100.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002566/0.7977, allocations: 1.601 MB / 0.7067 GB, free: 99.69 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.7978, allocations: 5.906 kB / 0.7067 GB, free: 99.69 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.7978, allocations: 3.781 kB / 0.7067 GB, free: 99.69 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007332/0.8051, allocations: 2.173 MB / 0.7089 GB, free: 98.62 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006591/0.8058, allocations: 149.1 kB / 0.709 GB, free: 98.49 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003069/0.8089, allocations: 1.95 MB / 0.7109 GB, free: 96.65 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00149/0.8104, allocations: 167.8 kB / 0.7111 GB, free: 96.51 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.104e-05/0.8105, allocations: 39.89 kB / 0.7111 GB, free: 96.47 MB / 490.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 68 * 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.0001817/0.8106, allocations: 151.2 kB / 0.7112 GB, free: 96.32 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001887/0.8108, allocations: 142.3 kB / 0.7114 GB, free: 96.18 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008721/0.8196, allocations: 3.41 MB / 0.7147 GB, free: 93.49 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.111e-05/0.8196, allocations: 15.95 kB / 0.7147 GB, free: 93.47 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.285e-06/0.8197, allocations: 0 / 0.7147 GB, free: 93.47 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.768e-05/0.8197, allocations: 7.078 kB / 0.7147 GB, free: 93.47 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.01114/0.8308, allocations: 5.093 MB / 0.7197 GB, free: 88.93 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.8309, allocations: 0 / 0.7197 GB, free: 88.93 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007509/0.8316, allocations: 143.8 kB / 0.7198 GB, free: 88.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003992/0.8356, allocations: 1.325 MB / 0.7211 GB, free: 87.46 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.125e-05/0.8357, allocations: 23.98 kB / 0.7212 GB, free: 87.44 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01144/0.8472, allocations: 6.21 MB / 0.7272 GB, free: 81.1 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.8472, allocations: 0 / 0.7272 GB, free: 81.1 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009907/0.8571, allocations: 4.142 MB / 0.7313 GB, free: 76.94 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000441/0.8576, allocations: 251.1 kB / 0.7315 GB, free: 76.67 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001736/0.8578, allocations: 20 kB / 0.7315 GB, free: 76.65 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001236/0.859, allocations: 127.9 kB / 0.7316 GB, free: 76.53 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004346/0.8595, allocations: 184.8 kB / 0.7318 GB, free: 76.35 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.212e-05/0.8595, allocations: 27.94 kB / 0.7318 GB, free: 76.32 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009271/0.8605, allocations: 0.8177 MB / 0.7326 GB, free: 75.5 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.8605, allocations: 0 / 0.7326 GB, free: 75.5 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008714/0.8614, allocations: 399.5 kB / 0.733 GB, free: 75.11 MB / 490.7 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 () * 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.0002682/0.8616, allocations: 174 kB / 0.7332 GB, free: 74.93 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004603/0.8663, allocations: 1.663 MB / 0.7348 GB, free: 73.27 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.8663, allocations: 0 / 0.7348 GB, free: 73.27 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003275/0.8696, allocations: 1.293 MB / 0.7361 GB, free: 71.97 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006544/0.8702, allocations: 114.3 kB / 0.7362 GB, free: 71.86 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003048/0.8733, allocations: 2.161 MB / 0.7383 GB, free: 69.73 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003748/0.8737, allocations: 1.139 MB / 0.7394 GB, free: 68.56 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004168/0.8741, allocations: 102.5 kB / 0.7395 GB, free: 68.46 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002678/0.8744, allocations: 75.44 kB / 0.7396 GB, free: 68.39 MB / 490.7 MB Notification: Performance of SimCode: time 8.41e-07/0.8744, allocations: 0 / 0.7396 GB, free: 68.39 MB / 490.7 MB Notification: Performance of Templates: time 0.02628/0.9007, allocations: 19.79 MB / 0.7589 GB, free: 48.68 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.makefile (rm -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.sim & ./OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe 2>&1)