Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.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.Tests.Machines.PSAT.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004178/0.004178, allocations: 172 kB / 15.11 MB, free: 5.98 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.171/1.171, allocations: 223.2 MB / 239 MB, free: 1.812 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.0008005/0.0008005, allocations: 101.8 kB / 290.2 MB, free: 13.97 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4049/0.4049, allocations: 78.51 MB / 419.8 MB, free: 44.01 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004447/0.0004447, allocations: 12 kB / 499.7 MB, free: 2.789 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2921/0.2926, allocations: 69.35 MB / 0.5557 GB, free: 38.87 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1052/0.3978, allocations: 96.84 MB / 0.6503 GB, free: 9.602 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002035/0.3981, allocations: 86.67 kB / 0.6504 GB, free: 9.52 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05652/0.4546, allocations: 23.02 MB / 0.6728 GB, free: 2.387 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4547, allocations: 4 kB / 0.6728 GB, free: 2.383 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.785e-05/0.4547, allocations: 16 kB / 0.6729 GB, free: 2.367 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.004291/0.459, allocations: 1.752 MB / 0.6746 GB, free: 0.5625 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.459, allocations: 8.031 kB / 0.6746 GB, free: 0.5547 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003008/0.4621, allocations: 0.541 MB / 0.6751 GB, free: 12 kB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001193/0.4633, allocations: 0.6719 MB / 0.6758 GB, free: 15.29 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002491/0.4635, allocations: 255.4 kB / 0.676 GB, free: 15.01 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001163/0.4637, allocations: 67.89 kB / 0.6761 GB, free: 14.94 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001854/0.4655, allocations: 1.01 MB / 0.6771 GB, free: 13.92 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.4655, allocations: 0 / 0.6771 GB, free: 13.92 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.378e-05/0.4656, allocations: 31.98 kB / 0.6771 GB, free: 13.89 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.347e-05/0.4656, allocations: 16 kB / 0.6771 GB, free: 13.88 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001975/0.4676, allocations: 1.048 MB / 0.6781 GB, free: 12.83 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005254/0.4729, allocations: 3.202 MB / 0.6812 GB, free: 9.477 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002004/0.4749, allocations: 1.378 MB / 0.6826 GB, free: 7.977 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.33e-05/0.475, allocations: 8.656 kB / 0.6826 GB, free: 7.969 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.4751, allocations: 43.22 kB / 0.6826 GB, free: 7.918 MB / 490.7 MB Notification: Performance of pre-optimization done (n=81): time 2.625e-06/0.4751, allocations: 0 / 0.6826 GB, free: 7.918 MB / 490.7 MB Notification: Performance of matching and sorting (n=81): time 0.02415/0.4992, allocations: 7.765 MB / 0.6902 GB, free: 124 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.122e-05/0.4993, allocations: 60.06 kB / 0.6903 GB, free: 48 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009023/0.5002, allocations: 0.6649 MB / 0.6909 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001727/0.5004, allocations: 37.7 kB / 0.691 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002812/0.5007, allocations: 436.3 kB / 0.6914 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002679/0.501, allocations: 283.8 kB / 0.6917 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.516e-05/0.501, allocations: 12 kB / 0.6917 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.5011, allocations: 334 kB / 0.692 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001233/0.5024, allocations: 0.6266 MB / 0.6926 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001258/0.5036, allocations: 0.7374 MB / 0.6933 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001233/0.5049, allocations: 0.656 MB / 0.694 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.5049, allocations: 4 kB / 0.694 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0129/0.5178, allocations: 4.723 MB / 0.6986 GB, free: 7.477 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.673e-05/0.5179, allocations: 4 kB / 0.6986 GB, free: 7.473 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.5179, allocations: 4 kB / 0.6986 GB, free: 7.469 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006295/0.5242, allocations: 2.181 MB / 0.7007 GB, free: 5.285 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005589/0.5248, allocations: 115.8 kB / 0.7008 GB, free: 5.172 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02042/0.5452, allocations: 9.791 MB / 0.7104 GB, free: 11.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001203/0.5464, allocations: 171.2 kB / 0.7105 GB, free: 11.08 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001391/0.5466, allocations: 28 kB / 0.7106 GB, free: 11.05 MB / 0.5105 GB Warning: Assuming fixed start value for the following 2 variables: order21.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order21.delta:VARIABLE(start = order21.delta0 unit = "rad" fixed = true ) "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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * 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.0005289/0.5471, allocations: 221.7 kB / 0.7108 GB, free: 10.83 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002572/0.5474, allocations: 102.7 kB / 0.7109 GB, free: 10.73 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01307/0.5605, allocations: 4.735 MB / 0.7155 GB, free: 5.977 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.427e-05/0.5605, allocations: 12 kB / 0.7155 GB, free: 5.965 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.5606, allocations: 4 kB / 0.7155 GB, free: 5.961 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.392e-05/0.5606, allocations: 11.92 kB / 0.7155 GB, free: 5.949 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0148/0.5754, allocations: 6.211 MB / 0.7216 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.255e-05/0.5754, allocations: 0 / 0.7216 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005262/0.576, allocations: 95.83 kB / 0.7217 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005994/0.582, allocations: 2.051 MB / 0.7237 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001626/0.5822, allocations: 15.98 kB / 0.7237 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01806/0.6002, allocations: 8.651 MB / 0.7322 GB, free: 4.645 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.6003, allocations: 3.953 kB / 0.7322 GB, free: 4.641 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0145/0.6148, allocations: 5.649 MB / 0.7377 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003531/0.6152, allocations: 183.7 kB / 0.7379 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002346/0.6154, allocations: 16.06 kB / 0.7379 GB, free: 14.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009709/0.6164, allocations: 127.9 kB / 0.738 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005897/0.617, allocations: 196.6 kB / 0.7382 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.681e-05/0.6171, allocations: 31.98 kB / 0.7382 GB, free: 14.4 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0006745/0.6178, allocations: 0.5185 MB / 0.7387 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6178, allocations: 0 / 0.7387 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001201/0.619, allocations: 391.5 kB / 0.7391 GB, free: 13.5 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order21.delta,order21.w) * 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 (48): * Single equations (assignments): 47 * 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.0002642/0.6193, allocations: 139 kB / 0.7392 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.005939/0.6252, allocations: 2.4 MB / 0.7416 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.6252, allocations: 4.188 kB / 0.7416 GB, free: 10.94 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004504/0.6298, allocations: 1.677 MB / 0.7432 GB, free: 9.262 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006405/0.6304, allocations: 71.97 kB / 0.7433 GB, free: 9.191 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003013/0.6334, allocations: 1.983 MB / 0.7452 GB, free: 7.18 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005375/0.634, allocations: 1.044 MB / 0.7462 GB, free: 6.105 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0002773/0.6343, allocations: 61.14 kB / 0.7463 GB, free: 6.043 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001642/0.6345, allocations: 47.44 kB / 0.7463 GB, free: 5.996 MB / 0.5417 GB Notification: Performance of SimCode: time 7.01e-07/0.6345, allocations: 0 / 0.7463 GB, free: 5.996 MB / 0.5417 GB Notification: Performance of Templates: time 0.02742/0.6619, allocations: 18.36 MB / 0.7643 GB, free: 3.648 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1)