Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_dev_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_dev_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.001273/0.001272, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 221.5 MB / 229.6 MB, free: 7.586 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000853/0.0008529, allocations: 91.09 kB / 280.5 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4688/0.4688, allocations: 78.94 MB / 410.2 MB, free: 5.992 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.576e-05/1.578e-05, allocations: 4 kB / 485.9 MB, free: 11.52 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1499, allocations: 69.51 MB / 0.5424 GB, free: 5.902 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3872/0.5371, allocations: 104 MB / 0.644 GB, free: 10.13 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001941/0.5373, allocations: 73.61 kB / 0.644 GB, free: 10.06 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09608/0.6334, allocations: 34.97 MB / 0.6782 GB, free: 7.062 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.6335, allocations: 1.312 kB / 0.6782 GB, free: 7.062 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.274e-05/0.6336, allocations: 20 kB / 0.6782 GB, free: 7.043 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.004198/0.6378, allocations: 1.691 MB / 0.6799 GB, free: 5.309 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.6378, allocations: 8.031 kB / 0.6799 GB, free: 5.301 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004228/0.642, allocations: 0.7319 MB / 0.6806 GB, free: 4.566 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001647/0.6437, allocations: 0.9604 MB / 0.6815 GB, free: 3.555 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002709/0.644, allocations: 202.5 kB / 0.6817 GB, free: 3.328 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001345/0.6441, allocations: 44 kB / 0.6818 GB, free: 3.285 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001487/0.6456, allocations: 0.8201 MB / 0.6826 GB, free: 2.465 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001299/0.6469, allocations: 0.7102 MB / 0.6833 GB, free: 1.746 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.647, allocations: 0 / 0.6833 GB, free: 1.746 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.557e-05/0.647, allocations: 0 / 0.6833 GB, free: 1.746 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.607e-05/0.6471, allocations: 16 kB / 0.6833 GB, free: 1.73 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.007682/0.6548, allocations: 3.692 MB / 0.6869 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002027/0.6568, allocations: 1.398 MB / 0.6882 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007835/0.6576, allocations: 0.5328 MB / 0.6888 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001167/0.6577, allocations: 21.3 kB / 0.6888 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.045e-05/0.6578, allocations: 44.22 kB / 0.6888 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=103): time 2.585e-06/0.6578, allocations: 0 / 0.6888 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of matching and sorting (n=103): time 0.00998/0.6678, allocations: 3.225 MB / 0.692 GB, free: 8.512 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.665e-05/0.6679, allocations: 68.66 kB / 0.692 GB, free: 8.434 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001971/0.6699, allocations: 1.085 MB / 0.6931 GB, free: 7.34 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002262/0.6701, allocations: 26.27 kB / 0.6931 GB, free: 7.309 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004126/0.6705, allocations: 0.5139 MB / 0.6936 GB, free: 6.789 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004081/0.6709, allocations: 354.6 kB / 0.694 GB, free: 6.438 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.385e-05/0.671, allocations: 4 kB / 0.694 GB, free: 6.434 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.6712, allocations: 341.9 kB / 0.6943 GB, free: 6.094 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006992/0.6719, allocations: 414.6 kB / 0.6947 GB, free: 5.688 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007784/0.6727, allocations: 0.5025 MB / 0.6952 GB, free: 5.164 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009061/0.6736, allocations: 470.3 kB / 0.6956 GB, free: 4.707 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.6736, allocations: 0 / 0.6956 GB, free: 4.707 MB / 0.4948 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.003119/0.6767, allocations: 1.532 MB / 0.6971 GB, free: 3.16 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.6767, allocations: 7.953 kB / 0.6971 GB, free: 3.152 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.6768, allocations: 4 kB / 0.6971 GB, free: 3.148 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006901/0.6837, allocations: 1.854 MB / 0.6989 GB, free: 1.293 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007327/0.6844, allocations: 143.9 kB / 0.6991 GB, free: 1.152 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004727/0.6892, allocations: 2.084 MB / 0.7011 GB, free: 15.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002092/0.6913, allocations: 156.5 kB / 0.7013 GB, free: 14.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001199/0.6914, allocations: 31.98 kB / 0.7013 GB, free: 14.87 MB / 0.5105 GB 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.0002599/0.6917, allocations: 128.6 kB / 0.7014 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002732/0.692, allocations: 134.3 kB / 0.7015 GB, free: 14.6 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009934/0.7019, allocations: 3.326 MB / 0.7048 GB, free: 11.26 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.971e-05/0.702, allocations: 8 kB / 0.7048 GB, free: 11.25 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.998e-06/0.702, allocations: 7.938 kB / 0.7048 GB, free: 11.25 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.838e-05/0.7021, allocations: 3.984 kB / 0.7048 GB, free: 11.24 MB / 0.5105 GB 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.01265/0.7147, allocations: 5.021 MB / 0.7097 GB, free: 6.102 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.224e-05/0.7148, allocations: 4 kB / 0.7097 GB, free: 6.098 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009509/0.7157, allocations: 139.8 kB / 0.7099 GB, free: 5.961 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004503/0.7202, allocations: 1.305 MB / 0.7111 GB, free: 4.652 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002098/0.7205, allocations: 5.875 kB / 0.7111 GB, free: 4.648 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01328/0.7338, allocations: 6.098 MB / 0.7171 GB, free: 14.42 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.7338, allocations: 4.688 kB / 0.7171 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01097/0.7448, allocations: 4.062 MB / 0.7211 GB, free: 10.33 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006473/0.7455, allocations: 275.1 kB / 0.7213 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002982/0.7458, allocations: 0 / 0.7213 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001392/0.7472, allocations: 121.2 kB / 0.7214 GB, free: 9.926 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004976/0.7477, allocations: 181 kB / 0.7216 GB, free: 9.75 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.306e-05/0.7478, allocations: 24 kB / 0.7216 GB, free: 9.727 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001213/0.749, allocations: 0.8507 MB / 0.7225 GB, free: 8.871 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.61e-07/0.749, allocations: 1.125 kB / 0.7225 GB, free: 8.871 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001047/0.7501, allocations: 355.6 kB / 0.7228 GB, free: 8.523 MB / 0.5261 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 () * 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.0003248/0.7504, allocations: 159.8 kB / 0.723 GB, free: 8.355 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004861/0.7553, allocations: 1.613 MB / 0.7245 GB, free: 6.75 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.7553, allocations: 3.938 kB / 0.7245 GB, free: 6.746 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003623/0.7589, allocations: 1.246 MB / 0.7258 GB, free: 5.496 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009904/0.7599, allocations: 93.56 kB / 0.7258 GB, free: 5.402 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003876/0.7638, allocations: 2.125 MB / 0.7279 GB, free: 3.273 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006633/0.7645, allocations: 1.135 MB / 0.729 GB, free: 2.109 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00051/0.765, allocations: 99.03 kB / 0.7291 GB, free: 2.012 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003085/0.7653, allocations: 75.42 kB / 0.7292 GB, free: 1.938 MB / 0.5261 GB Notification: Performance of SimCode: time 6.21e-07/0.7653, allocations: 0 / 0.7292 GB, free: 1.938 MB / 0.5261 GB Notification: Performance of Templates: time 0.03115/0.7965, allocations: 19.03 MB / 0.7478 GB, free: 15.11 MB / 0.5573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.sim & ./OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe 2>&1)