Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.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.Tests.Machines.PSAT.Order3test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005352/0.005353, allocations: 172.2 kB / 15.11 MB, free: 5.969 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.201/1.201, allocations: 223.2 MB / 239 MB, free: 24 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008527/0.0008528, allocations: 93.19 kB / 290.2 MB, free: 4.574 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4242/0.4242, allocations: 79.44 MB / 420.8 MB, free: 36.24 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003287/0.0003287, allocations: 16 kB / 0.489 GB, free: 6.336 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1109, allocations: 69.52 MB / 0.5569 GB, free: 0.7617 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3222/0.4331, allocations: 97.63 MB / 0.6523 GB, free: 3.574 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000236/0.4334, allocations: 80.66 kB / 0.6523 GB, free: 3.496 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05921/0.4926, allocations: 23.63 MB / 0.6754 GB, free: 11.93 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.4927, allocations: 0 / 0.6754 GB, free: 11.93 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.357e-05/0.4928, allocations: 16 kB / 0.6754 GB, free: 11.92 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: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.005342/0.4982, allocations: 1.779 MB / 0.6772 GB, free: 10.09 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.4982, allocations: 8.031 kB / 0.6772 GB, free: 10.08 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003383/0.5016, allocations: 0.541 MB / 0.6777 GB, free: 9.539 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001772/0.5034, allocations: 0.6758 MB / 0.6784 GB, free: 8.816 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003252/0.5037, allocations: 268 kB / 0.6786 GB, free: 8.52 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002246/0.504, allocations: 67.95 kB / 0.6787 GB, free: 8.453 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00225/0.5062, allocations: 1.022 MB / 0.6797 GB, free: 7.422 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.5063, allocations: 0 / 0.6797 GB, free: 7.422 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.729e-05/0.5064, allocations: 24 kB / 0.6797 GB, free: 7.398 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/0.5064, allocations: 17.59 kB / 0.6797 GB, free: 7.383 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00214/0.5085, allocations: 1.062 MB / 0.6808 GB, free: 6.32 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005715/0.5142, allocations: 3.232 MB / 0.6839 GB, free: 2.934 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002067/0.5163, allocations: 1.364 MB / 0.6852 GB, free: 1.449 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.403e-05/0.5164, allocations: 8.656 kB / 0.6853 GB, free: 1.441 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.5165, allocations: 39.22 kB / 0.6853 GB, free: 1.395 MB / 474.7 MB Notification: Performance of pre-optimization done (n=82): time 2.735e-06/0.5165, allocations: 0 / 0.6853 GB, free: 1.395 MB / 474.7 MB Notification: Performance of matching and sorting (n=82): time 0.02722/0.5437, allocations: 8.193 MB / 0.6933 GB, free: 9.168 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/0.5438, allocations: 68.06 kB / 0.6934 GB, free: 9.09 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001096/0.5449, allocations: 0.6808 MB / 0.694 GB, free: 8.387 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001191/0.545, allocations: 37.7 kB / 0.6941 GB, free: 8.344 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003229/0.5454, allocations: 440.3 kB / 0.6945 GB, free: 7.91 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003292/0.5457, allocations: 291.7 kB / 0.6948 GB, free: 7.621 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.79e-05/0.5458, allocations: 16 kB / 0.6948 GB, free: 7.605 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.5459, allocations: 330 kB / 0.6951 GB, free: 7.277 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0013/0.5472, allocations: 0.6344 MB / 0.6957 GB, free: 6.645 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001432/0.5487, allocations: 0.7358 MB / 0.6964 GB, free: 5.875 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001328/0.55, allocations: 0.6638 MB / 0.6971 GB, free: 5.215 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.55, allocations: 0 / 0.6971 GB, free: 5.215 MB / 490.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.01385/0.5639, allocations: 4.708 MB / 0.7017 GB, free: 0.4922 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.874e-05/0.5639, allocations: 8 kB / 0.7017 GB, free: 496 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.564, allocations: 0 / 0.7017 GB, free: 496 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006488/0.5705, allocations: 2.107 MB / 0.7037 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006532/0.5711, allocations: 127.8 kB / 0.7039 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02217/0.5933, allocations: 9.986 MB / 0.7136 GB, free: 4.137 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001243/0.5946, allocations: 171.3 kB / 0.7138 GB, free: 3.969 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/0.5947, allocations: 28 kB / 0.7138 GB, free: 3.941 MB / 0.4948 GB Warning: Assuming fixed start value for the following 2 variables: order31.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order31.e1q:VARIABLE(start = order31.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" 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 (61): * Single equations (assignments): 60 * 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 {25 11} Notification: Performance of prepare postOptimizeDAE: time 0.0004781/0.5952, allocations: 230.6 kB / 0.714 GB, free: 3.707 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002074/0.5954, allocations: 102.8 kB / 0.7141 GB, free: 3.605 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01347/0.6089, allocations: 4.735 MB / 0.7187 GB, free: 14.85 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.759e-06/0.6089, allocations: 8 kB / 0.7188 GB, free: 14.84 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.6089, allocations: 0 / 0.7188 GB, free: 14.84 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.353e-05/0.6089, allocations: 3.984 kB / 0.7188 GB, free: 14.84 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01532/0.6243, allocations: 6.238 MB / 0.7248 GB, free: 8.461 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/0.6243, allocations: 0 / 0.7248 GB, free: 8.461 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005323/0.6248, allocations: 99.89 kB / 0.7249 GB, free: 8.363 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006043/0.6309, allocations: 2.059 MB / 0.727 GB, free: 6.301 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00013/0.6311, allocations: 16 kB / 0.727 GB, free: 6.285 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01877/0.6498, allocations: 8.648 MB / 0.7354 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.6499, allocations: 0.75 kB / 0.7354 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01493/0.6648, allocations: 5.669 MB / 0.7409 GB, free: 7.805 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003812/0.6652, allocations: 187.8 kB / 0.7411 GB, free: 7.602 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002264/0.6655, allocations: 12 kB / 0.7411 GB, free: 7.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001045/0.6665, allocations: 131.9 kB / 0.7413 GB, free: 7.461 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006416/0.6672, allocations: 200.6 kB / 0.7415 GB, free: 7.266 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.472e-05/0.6673, allocations: 22.55 kB / 0.7415 GB, free: 7.246 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0008039/0.6681, allocations: 0.5304 MB / 0.742 GB, free: 6.703 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.463e-06/0.6681, allocations: 2.438 kB / 0.742 GB, free: 6.703 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001297/0.6694, allocations: 399.5 kB / 0.7424 GB, free: 6.312 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order31.delta,order31.w,order31.e1q) * 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 (49): * Single equations (assignments): 48 * 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.0002888/0.6697, allocations: 148.2 kB / 0.7425 GB, free: 6.16 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006159/0.6759, allocations: 2.404 MB / 0.7449 GB, free: 3.75 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.6759, allocations: 7.938 kB / 0.7449 GB, free: 3.742 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004474/0.6804, allocations: 1.68 MB / 0.7465 GB, free: 2.059 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005475/0.6809, allocations: 71.33 kB / 0.7466 GB, free: 1.988 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003212/0.6842, allocations: 2.061 MB / 0.7486 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006564/0.6848, allocations: 1.056 MB / 0.7496 GB, free: 14.83 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0002687/0.6851, allocations: 57.14 kB / 0.7497 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001634/0.6853, allocations: 47.42 kB / 0.7497 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of SimCode: time 5.31e-07/0.6853, allocations: 0 / 0.7497 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of Templates: time 0.02926/0.7145, allocations: 18.67 MB / 0.768 GB, free: 12.09 MB / 0.5573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1)