Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_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.Generator_Aggregation.Reference_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system") translateModel(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009413/0.0009414, 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.198/1.198, allocations: 221.4 MB / 234.6 MB, free: 14.45 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.0009145/0.0009144, allocations: 93.72 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.425/0.425, allocations: 78.02 MB / 414.5 MB, free: 10.83 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.183e-05/3.188e-05, allocations: 4 kB / 491.8 MB, free: 13.89 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3007/0.3008, allocations: 69.34 MB / 0.5479 GB, free: 20.19 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1177/0.4185, allocations: 104 MB / 0.6495 GB, free: 12.37 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001984/0.4187, allocations: 75.97 kB / 0.6496 GB, free: 12.29 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3735/0.7923, allocations: 50.74 MB / 0.6992 GB, free: 106 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.7923, allocations: 3.875 kB / 0.6992 GB, free: 106 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.707e-05/0.7924, allocations: 29.34 kB / 0.6992 GB, free: 106 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.003954/0.7963, allocations: 1.921 MB / 0.7011 GB, free: 105 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.7964, allocations: 9.5 kB / 0.7011 GB, free: 105 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002255/0.7986, allocations: 464 kB / 0.7015 GB, free: 104.9 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00154/0.8002, allocations: 1.06 MB / 0.7026 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001978/0.8004, allocations: 266 kB / 0.7028 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001606/0.8006, allocations: 85.34 kB / 0.7029 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001473/0.8021, allocations: 0.9697 MB / 0.7038 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.904e-05/0.8021, allocations: 0 / 0.7038 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.494e-05/0.8022, allocations: 34.72 kB / 0.7039 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.422e-05/0.8022, allocations: 21.5 kB / 0.7039 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001503/0.8037, allocations: 1.026 MB / 0.7049 GB, free: 103.1 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.005958/0.8097, allocations: 4.372 MB / 0.7092 GB, free: 100.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002204/0.8119, allocations: 2.018 MB / 0.7111 GB, free: 98.06 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000846/0.8128, allocations: 0.6804 MB / 0.7118 GB, free: 97.38 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001175/0.8129, allocations: 21.22 kB / 0.7118 GB, free: 97.36 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.908e-05/0.8129, allocations: 47.86 kB / 0.7119 GB, free: 97.31 MB / 490.7 MB Notification: Performance of pre-optimization done (n=130): time 3.276e-06/0.8129, allocations: 0 / 0.7119 GB, free: 97.31 MB / 490.7 MB Notification: Performance of matching and sorting (n=130): time 0.009505/0.8224, allocations: 3.549 MB / 0.7153 GB, free: 93.75 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.8225, allocations: 72.72 kB / 0.7154 GB, free: 93.66 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002016/0.8245, allocations: 1.339 MB / 0.7167 GB, free: 92.32 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002937/0.8249, allocations: 45.7 kB / 0.7168 GB, free: 92.27 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003285/0.8252, allocations: 0.6335 MB / 0.7174 GB, free: 91.63 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000384/0.8256, allocations: 476.8 kB / 0.7178 GB, free: 91.16 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.302e-05/0.8257, allocations: 20 kB / 0.7179 GB, free: 91.14 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.067e-05/0.8257, allocations: 349.9 kB / 0.7182 GB, free: 90.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007713/0.8265, allocations: 0.5103 MB / 0.7187 GB, free: 90.29 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007885/0.8273, allocations: 0.6292 MB / 0.7193 GB, free: 89.64 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008328/0.8281, allocations: 0.5634 MB / 0.7198 GB, free: 89.07 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.8282, allocations: 4 kB / 0.7199 GB, free: 89.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003109/0.8313, allocations: 1.934 MB / 0.7217 GB, free: 87.12 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.8313, allocations: 6.188 kB / 0.7217 GB, free: 87.12 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/0.8313, allocations: 4 kB / 0.7218 GB, free: 87.12 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009063/0.8404, allocations: 2.807 MB / 0.7245 GB, free: 84.31 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000794/0.8412, allocations: 175.8 kB / 0.7247 GB, free: 84.14 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003849/0.8451, allocations: 2.277 MB / 0.7269 GB, free: 81.83 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001823/0.8469, allocations: 170.9 kB / 0.727 GB, free: 81.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001071/0.847, allocations: 43.97 kB / 0.7271 GB, free: 81.62 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 (87): * Single equations (assignments): 86 * 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 {30 38} Notification: Performance of prepare postOptimizeDAE: time 0.0002279/0.8473, allocations: 160.8 kB / 0.7272 GB, free: 81.46 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002698/0.8476, allocations: 173.8 kB / 0.7274 GB, free: 81.29 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009187/0.8568, allocations: 3.703 MB / 0.731 GB, free: 77.57 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.399e-05/0.8568, allocations: 12 kB / 0.731 GB, free: 77.56 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.8568, allocations: 0 / 0.731 GB, free: 77.56 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.719e-05/0.8569, allocations: 7.969 kB / 0.731 GB, free: 77.55 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.01163/0.8685, allocations: 5.812 MB / 0.7367 GB, free: 71.61 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.426e-05/0.8686, allocations: 0 / 0.7367 GB, free: 71.61 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001071/0.8696, allocations: 159.8 kB / 0.7369 GB, free: 71.45 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004402/0.874, allocations: 1.418 MB / 0.7383 GB, free: 70.03 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002251/0.8743, allocations: 31.98 kB / 0.7383 GB, free: 70 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01208/0.8864, allocations: 6.436 MB / 0.7446 GB, free: 63.43 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.8864, allocations: 0 / 0.7446 GB, free: 63.43 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01074/0.8972, allocations: 4.58 MB / 0.749 GB, free: 58.83 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000688/0.8979, allocations: 318.7 kB / 0.7493 GB, free: 58.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002802/0.8982, allocations: 24 kB / 0.7494 GB, free: 58.48 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001477/0.8997, allocations: 107.9 kB / 0.7495 GB, free: 58.37 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005477/0.9002, allocations: 185.4 kB / 0.7497 GB, free: 58.18 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.629e-05/0.9003, allocations: 43.98 kB / 0.7497 GB, free: 58.14 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001255/0.9016, allocations: 1.05 MB / 0.7507 GB, free: 57.09 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.9016, allocations: 0 / 0.7507 GB, free: 57.09 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001044/0.9027, allocations: 479.6 kB / 0.7512 GB, free: 56.62 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,gENROE1.w,gENROE1.delta,gENROE1.Epd,gENROE1.Epq,gENROE1.PSIkd,gENROE1.PSIkq,gENROE2.w,gENROE2.delta,gENROE2.Epd,gENROE2.Epq,gENROE2.PSIkd,gENROE2.PSIkq) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 92 * 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 {16 31} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003095/0.903, allocations: 182.8 kB / 0.7513 GB, free: 56.44 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005212/0.9082, allocations: 1.985 MB / 0.7533 GB, free: 54.46 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.9082, allocations: 0 / 0.7533 GB, free: 54.46 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003615/0.9118, allocations: 1.484 MB / 0.7547 GB, free: 52.96 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001081/0.9129, allocations: 137.6 kB / 0.7549 GB, free: 52.82 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004261/0.9172, allocations: 2.924 MB / 0.7577 GB, free: 49.87 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004789/0.9177, allocations: 1.273 MB / 0.759 GB, free: 48.57 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0007191/0.9185, allocations: 149.2 kB / 0.7591 GB, free: 48.42 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003925/0.9189, allocations: 95.42 kB / 0.7592 GB, free: 48.32 MB / 490.7 MB Notification: Performance of SimCode: time 8.92e-07/0.9189, allocations: 0 / 0.7592 GB, free: 48.32 MB / 490.7 MB Notification: Performance of Templates: time 0.03226/0.9511, allocations: 24.53 MB / 0.7832 GB, free: 23.87 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.makefile (rm -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.sim & ./OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe 2>&1)