Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.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.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004841/0.004841, allocations: 171.3 kB / 15.11 MB, free: 5.973 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.213/1.213, allocations: 223.2 MB / 239 MB, free: 1.793 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.0008312/0.0008312, allocations: 97.3 kB / 290.2 MB, free: 13.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4172/0.4172, allocations: 79.43 MB / 420.8 MB, free: 43.61 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003211/0.0003212, allocations: 12 kB / 0.489 GB, free: 2.027 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3279/0.3282, allocations: 69.5 MB / 0.5569 GB, free: 39.04 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1187/0.447, allocations: 99.53 MB / 0.6541 GB, free: 6.062 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002178/0.4473, allocations: 83.95 kB / 0.6542 GB, free: 5.98 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06844/0.5157, allocations: 26.64 MB / 0.6802 GB, free: 11.2 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.5157, allocations: 0 / 0.6802 GB, free: 11.2 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.603e-05/0.5158, allocations: 20 kB / 0.6802 GB, free: 11.18 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.00521/0.5211, allocations: 1.994 MB / 0.6822 GB, free: 9.125 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.5211, allocations: 12.03 kB / 0.6822 GB, free: 9.113 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003258/0.5244, allocations: 0.5564 MB / 0.6827 GB, free: 8.555 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001626/0.526, allocations: 0.748 MB / 0.6835 GB, free: 7.754 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002924/0.5263, allocations: 268.1 kB / 0.6837 GB, free: 7.453 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001957/0.5265, allocations: 76 kB / 0.6838 GB, free: 7.379 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002361/0.5289, allocations: 1.167 MB / 0.6849 GB, free: 6.203 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.5289, allocations: 0 / 0.6849 GB, free: 6.203 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001153/0.529, allocations: 32 kB / 0.685 GB, free: 6.172 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.578e-05/0.5291, allocations: 16 kB / 0.685 GB, free: 6.156 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00257/0.5316, allocations: 1.238 MB / 0.6862 GB, free: 4.922 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007275/0.5389, allocations: 3.592 MB / 0.6897 GB, free: 1.176 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002243/0.5412, allocations: 1.51 MB / 0.6912 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001024/0.5413, allocations: 16.98 kB / 0.6912 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.17e-05/0.5413, allocations: 47.55 kB / 0.6912 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=98): time 2.735e-06/0.5413, allocations: 0 / 0.6912 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of matching and sorting (n=98): time 0.02697/0.5683, allocations: 8.449 MB / 0.6995 GB, free: 6.992 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.4e-05/0.5684, allocations: 64.41 kB / 0.6995 GB, free: 6.918 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001139/0.5695, allocations: 0.7503 MB / 0.7003 GB, free: 6.152 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001373/0.5697, allocations: 41.7 kB / 0.7003 GB, free: 6.105 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003717/0.5701, allocations: 0.5009 MB / 0.7008 GB, free: 5.598 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003591/0.5704, allocations: 339 kB / 0.7011 GB, free: 5.262 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.042e-05/0.5705, allocations: 16 kB / 0.7011 GB, free: 5.246 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.5706, allocations: 345.9 kB / 0.7015 GB, free: 4.902 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00146/0.5721, allocations: 0.7164 MB / 0.7022 GB, free: 4.188 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001518/0.5736, allocations: 0.8272 MB / 0.703 GB, free: 3.328 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001487/0.5751, allocations: 0.7539 MB / 0.7037 GB, free: 2.578 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.5751, allocations: 0 / 0.7037 GB, free: 2.578 MB / 0.4948 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.01372/0.5889, allocations: 4.957 MB / 0.7086 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.935e-05/0.5889, allocations: 11.94 kB / 0.7086 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.589, allocations: 0 / 0.7086 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006491/0.5955, allocations: 2.11 MB / 0.7106 GB, free: 11.48 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008614/0.5963, allocations: 171.8 kB / 0.7108 GB, free: 11.31 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.021/0.6174, allocations: 9.969 MB / 0.7205 GB, free: 1.203 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001385/0.6188, allocations: 215.1 kB / 0.7207 GB, free: 0.9922 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001372/0.6189, allocations: 24 kB / 0.7208 GB, free: 0.9688 MB / 0.5105 GB Warning: Assuming fixed start value for the following 1 variables: Generator.e1d:VARIABLE(start = Generator.e1d0 unit = "1" fixed = true ) "d-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 (76): * Single equations (assignments): 75 * 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 13} Notification: Performance of prepare postOptimizeDAE: time 0.0005617/0.6195, allocations: 237.7 kB / 0.721 GB, free: 0.7266 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002654/0.6198, allocations: 122.5 kB / 0.7211 GB, free: 0.6055 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0139/0.6337, allocations: 4.975 MB / 0.726 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-05/0.6337, allocations: 8 kB / 0.726 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.6337, allocations: 0 / 0.726 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.997e-05/0.6338, allocations: 3.984 kB / 0.726 GB, free: 11.6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01576/0.6495, allocations: 6.574 MB / 0.7324 GB, free: 4.895 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.458e-06/0.6496, allocations: 0 / 0.7324 GB, free: 4.895 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007848/0.6504, allocations: 151.8 kB / 0.7325 GB, free: 4.746 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005979/0.6564, allocations: 2.06 MB / 0.7345 GB, free: 2.684 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001598/0.6566, allocations: 23.98 kB / 0.7346 GB, free: 2.66 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01803/0.6746, allocations: 8.631 MB / 0.743 GB, free: 9.883 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.6746, allocations: 4 kB / 0.743 GB, free: 9.879 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01525/0.6899, allocations: 5.982 MB / 0.7488 GB, free: 3.875 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003798/0.6903, allocations: 207.4 kB / 0.749 GB, free: 3.652 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001744/0.6905, allocations: 19.98 kB / 0.7491 GB, free: 3.633 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001069/0.6915, allocations: 151.9 kB / 0.7492 GB, free: 3.484 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006152/0.6922, allocations: 220.5 kB / 0.7494 GB, free: 3.27 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.028e-05/0.6923, allocations: 31.94 kB / 0.7494 GB, free: 3.238 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0008052/0.6931, allocations: 0.5852 MB / 0.75 GB, free: 2.645 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.733e-06/0.6931, allocations: 0 / 0.75 GB, free: 2.645 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001161/0.6943, allocations: 435.4 kB / 0.7504 GB, free: 2.219 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Generator.delta,Generator.w,Generator.e1q,Generator.e1d) * 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 (65): * Single equations (assignments): 64 * 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.000278/0.6945, allocations: 143.1 kB / 0.7506 GB, free: 2.066 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.006634/0.7012, allocations: 2.604 MB / 0.7531 GB, free: 15.45 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.7012, allocations: 0 / 0.7531 GB, free: 15.45 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004782/0.706, allocations: 1.804 MB / 0.7549 GB, free: 13.64 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006237/0.7066, allocations: 72.42 kB / 0.7549 GB, free: 13.57 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003888/0.7105, allocations: 2.456 MB / 0.7573 GB, free: 11.08 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006486/0.7112, allocations: 1.122 MB / 0.7584 GB, free: 9.93 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003544/0.7116, allocations: 69.56 kB / 0.7585 GB, free: 9.859 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002082/0.7118, allocations: 55.42 kB / 0.7586 GB, free: 9.809 MB / 0.5573 GB Notification: Performance of SimCode: time 7.62e-07/0.7118, allocations: 3.938 kB / 0.7586 GB, free: 9.805 MB / 0.5573 GB Notification: Performance of Templates: time 0.2229/0.9347, allocations: 19.52 MB / 0.7776 GB, free: 146.4 MB / 0.5573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1)