Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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/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 Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001542/0.001542, allocations: 169.3 kB / 7.64 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.38/1.38, allocations: 205.3 MB / 213.4 MB, free: 13.76 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008094/0.0008094, allocations: 97.81 kB / 261.4 MB, free: 13.45 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07579/0.07579, allocations: 12.59 MB / 321.9 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2813/0.2813, allocations: 78.05 MB / 450.8 MB, free: 3.031 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.518e-05/1.527e-05, allocations: 8 kB / 0.5147 GB, free: 29.61 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1212, allocations: 69.32 MB / 0.5824 GB, free: 8.41 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3734/0.4946, allocations: 99.14 MB / 0.6792 GB, free: 8.824 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001897/0.4949, allocations: 81.8 kB / 0.6793 GB, free: 8.781 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05929/0.5542, allocations: 24.33 MB / 0.7031 GB, free: 4.801 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.047e-06/0.5542, allocations: 8 kB / 0.7031 GB, free: 4.793 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.72e-05/0.5543, allocations: 19.94 kB / 0.7031 GB, free: 4.773 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.0052/0.5595, allocations: 1.765 MB / 0.7048 GB, free: 3.086 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.5596, allocations: 8.031 kB / 0.7048 GB, free: 3.078 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003402/0.563, allocations: 0.5571 MB / 0.7054 GB, free: 2.566 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001655/0.5647, allocations: 0.7175 MB / 0.7061 GB, free: 1.93 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003327/0.565, allocations: 244.1 kB / 0.7063 GB, free: 1.656 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002604/0.5653, allocations: 44 kB / 0.7063 GB, free: 1.613 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001694/0.567, allocations: 0.8152 MB / 0.7071 GB, free: 1.125 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001457/0.5685, allocations: 0.7581 MB / 0.7079 GB, free: 0.6055 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.5685, allocations: 0 / 0.7079 GB, free: 0.6055 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.11e-05/0.5686, allocations: 0 / 0.7079 GB, free: 0.6055 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.098e-05/0.5686, allocations: 19.95 kB / 0.7079 GB, free: 0.5859 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006501/0.5751, allocations: 3.408 MB / 0.7112 GB, free: 13.93 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001251/0.5764, allocations: 1.182 MB / 0.7124 GB, free: 12.95 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007691/0.5772, allocations: 0.5507 MB / 0.7129 GB, free: 12.66 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001259/0.5773, allocations: 19.77 kB / 0.7129 GB, free: 12.64 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.467e-05/0.5773, allocations: 52.42 kB / 0.713 GB, free: 12.59 MB / 458.7 MB Notification: Performance of pre-optimization done (n=96): time 3.026e-06/0.5774, allocations: 0 / 0.713 GB, free: 12.59 MB / 458.7 MB Notification: Performance of matching and sorting (n=96): time 0.01197/0.5893, allocations: 3.983 MB / 0.7169 GB, free: 9.113 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.801e-05/0.5895, allocations: 64.14 kB / 0.7169 GB, free: 9.039 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001317/0.5908, allocations: 0.6736 MB / 0.7176 GB, free: 8.523 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002418/0.591, allocations: 25.7 kB / 0.7176 GB, free: 8.492 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003521/0.5914, allocations: 0.4971 MB / 0.7181 GB, free: 8.211 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000502/0.5919, allocations: 323 kB / 0.7184 GB, free: 7.926 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.592, allocations: 0 / 0.7184 GB, free: 7.926 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.5922, allocations: 339.7 kB / 0.7187 GB, free: 7.602 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007752/0.593, allocations: 423.1 kB / 0.7191 GB, free: 7.387 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007551/0.5938, allocations: 0.5056 MB / 0.7196 GB, free: 7.062 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007044/0.5945, allocations: 464.4 kB / 0.7201 GB, free: 6.809 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.5945, allocations: 0 / 0.7201 GB, free: 6.809 MB / 458.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.01225/0.6067, allocations: 4.099 MB / 0.7241 GB, free: 3.254 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.276e-05/0.6068, allocations: 15.98 kB / 0.7241 GB, free: 3.238 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.6068, allocations: 0 / 0.7241 GB, free: 3.238 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005513/0.6124, allocations: 1.677 MB / 0.7257 GB, free: 1.781 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008596/0.6133, allocations: 163.3 kB / 0.7259 GB, free: 1.625 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0139/0.6272, allocations: 6.892 MB / 0.7326 GB, free: 12.64 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001506/0.6287, allocations: 187.1 kB / 0.7328 GB, free: 12.46 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002151/0.629, allocations: 24 kB / 0.7328 GB, free: 12.43 MB / 474.7 MB Warning: Assuming fixed start value for the following 2 variables: order2_Inputs_Outputs1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2_Inputs_Outputs1.delta:VARIABLE(start = order2_Inputs_Outputs1.delta0 unit = "rad" ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * 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 {26 10} Notification: Performance of prepare postOptimizeDAE: time 0.0004395/0.6294, allocations: 132.7 kB / 0.7329 GB, free: 12.3 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003478/0.6298, allocations: 122.6 kB / 0.7331 GB, free: 12.18 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0121/0.6419, allocations: 4.115 MB / 0.7371 GB, free: 8.047 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.392e-05/0.642, allocations: 12 kB / 0.7371 GB, free: 8.035 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.642, allocations: 0 / 0.7371 GB, free: 8.035 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.519e-05/0.642, allocations: 3.984 kB / 0.7371 GB, free: 8.031 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01497/0.657, allocations: 5.626 MB / 0.7426 GB, free: 2.277 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.377e-05/0.6571, allocations: 0 / 0.7426 GB, free: 2.277 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008186/0.6579, allocations: 147.8 kB / 0.7427 GB, free: 2.133 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005225/0.6631, allocations: 1.664 MB / 0.7443 GB, free: 476 kB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002003/0.6634, allocations: 0 / 0.7443 GB, free: 476 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01242/0.6758, allocations: 6.207 MB / 0.7504 GB, free: 10.13 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-06/0.6758, allocations: 0 / 0.7504 GB, free: 10.13 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0134/0.6892, allocations: 4.868 MB / 0.7552 GB, free: 5.246 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004345/0.6897, allocations: 203.5 kB / 0.7554 GB, free: 5.027 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003302/0.6901, allocations: 7.938 kB / 0.7554 GB, free: 5.02 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001258/0.6913, allocations: 139.9 kB / 0.7555 GB, free: 4.883 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007222/0.6921, allocations: 216.3 kB / 0.7557 GB, free: 4.672 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001099/0.6922, allocations: 28 kB / 0.7557 GB, free: 4.645 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008018/0.693, allocations: 0.5182 MB / 0.7562 GB, free: 4.117 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.693, allocations: 0 / 0.7562 GB, free: 4.117 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001465/0.6945, allocations: 383.4 kB / 0.7566 GB, free: 3.742 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order2_Inputs_Outputs1.delta,order2_Inputs_Outputs1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 62 * 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 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003372/0.6948, allocations: 127.2 kB / 0.7567 GB, free: 3.609 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005073/0.6999, allocations: 1.937 MB / 0.7586 GB, free: 1.664 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.6999, allocations: 0 / 0.7586 GB, free: 1.664 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00408/0.704, allocations: 1.443 MB / 0.76 GB, free: 212 kB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006756/0.7047, allocations: 64.23 kB / 0.7601 GB, free: 144 kB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003021/0.7078, allocations: 1.34 MB / 0.7614 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006911/0.7085, allocations: 1.111 MB / 0.7625 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.000352/0.7088, allocations: 65.44 kB / 0.7625 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000205/0.709, allocations: 51.42 kB / 0.7626 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of SimCode: time 9.02e-07/0.709, allocations: 3.938 kB / 0.7626 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of Templates: time 0.02979/0.7388, allocations: 17.92 MB / 0.7801 GB, free: 11.6 MB / 0.5105 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1)