Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001791/0.001791, allocations: 106.2 kB / 19.69 MB, free: 2.277 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.553/1.553, allocations: 230.6 MB / 253.4 MB, free: 8.332 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002666/0.002666, allocations: 206.7 kB / 310 MB, free: 3.18 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4935/0.4935, allocations: 79.73 MB / 446.2 MB, free: 14.89 MB / 318.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002577/0.002577, allocations: 99.78 kB / 0.5942 GB, free: 13.51 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.1636, allocations: 73.29 MB / 0.6657 GB, free: 4.109 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.009157/0.1727, allocations: 6.562 MB / 0.6722 GB, free: 13.52 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004873/0.1776, allocations: 1.974 MB / 0.6741 GB, free: 11.54 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00111/0.1787, allocations: 15.94 kB / 0.6741 GB, free: 11.52 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009046/0.1796, allocations: 226 kB / 0.6743 GB, free: 11.3 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002851/0.1825, allocations: 0.7915 MB / 0.6751 GB, free: 10.51 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation Generator.xq <> Generator.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001771/0.1843, allocations: 0.6394 MB / 0.6757 GB, free: 9.875 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002534/0.1868, allocations: 1.437 MB / 0.6771 GB, free: 8.434 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006088/0.1874, allocations: 232.8 kB / 0.6773 GB, free: 8.195 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001196/0.1886, allocations: 0.6147 MB / 0.6779 GB, free: 7.578 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001284/0.1899, allocations: 0.7426 MB / 0.6787 GB, free: 6.832 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003904/0.1903, allocations: 100 kB / 0.6788 GB, free: 6.734 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008178/0.1911, allocations: 267.8 kB / 0.679 GB, free: 6.473 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000405/0.1915, allocations: 270.8 kB / 0.6793 GB, free: 6.207 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001028/0.1925, allocations: 0.6329 MB / 0.6799 GB, free: 5.57 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00253/0.195, allocations: 1.544 MB / 0.6814 GB, free: 4.02 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1951, allocations: 0 / 0.6814 GB, free: 4.02 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1951, allocations: 0 / 0.6814 GB, free: 4.02 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.245e-05/0.1951, allocations: 0 / 0.6814 GB, free: 4.02 MB / 478.1 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.009521/0.2046, allocations: 2.549 MB / 0.6839 GB, free: 1.43 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.2047, allocations: 15.97 kB / 0.6839 GB, free: 1.414 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005589/0.2103, allocations: 0.8186 MB / 0.6847 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001875/0.2122, allocations: 0.7248 MB / 0.6854 GB, free: 15.82 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004399/0.2126, allocations: 307.6 kB / 0.6857 GB, free: 15.48 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002497/0.2128, allocations: 83.94 kB / 0.6858 GB, free: 15.39 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002795/0.2156, allocations: 1.085 MB / 0.6868 GB, free: 14.3 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.303e-05/0.2157, allocations: 3.938 kB / 0.6868 GB, free: 14.3 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/0.2158, allocations: 32 kB / 0.6869 GB, free: 14.27 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.98e-05/0.2158, allocations: 16 kB / 0.6869 GB, free: 14.25 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002761/0.2185, allocations: 1.124 MB / 0.688 GB, free: 13.12 MB / 494.1 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.007038/0.2256, allocations: 3.414 MB / 0.6913 GB, free: 9.57 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00216/0.2277, allocations: 0.8959 MB / 0.6922 GB, free: 8.668 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001706/0.2294, allocations: 0.7031 MB / 0.6929 GB, free: 7.957 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001238/0.2296, allocations: 16.98 kB / 0.6929 GB, free: 7.941 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.343e-05/0.2296, allocations: 43.56 kB / 0.6929 GB, free: 7.891 MB / 494.1 MB Notification: Performance of pre-optimization done (n=98): time 3.447e-06/0.2296, allocations: 0 / 0.6929 GB, free: 7.891 MB / 494.1 MB Notification: Performance of matching and sorting (n=98): time 0.02684/0.2565, allocations: 6.506 MB / 0.6993 GB, free: 1.371 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.16e-05/0.2565, allocations: 60.41 kB / 0.6994 GB, free: 1.301 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001506/0.258, allocations: 0.9047 MB / 0.7002 GB, free: 388 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002364/0.2583, allocations: 41.7 kB / 0.7003 GB, free: 340 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.2818/0.5401, allocations: 0.4895 MB / 0.7008 GB, free: 34.12 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005943/0.5407, allocations: 367.5 kB / 0.7011 GB, free: 33.99 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004286/0.5411, allocations: 208.1 kB / 0.7013 GB, free: 33.96 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.742e-05/0.5412, allocations: 348.9 kB / 0.7016 GB, free: 33.66 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001639/0.5428, allocations: 0.7317 MB / 0.7024 GB, free: 33.66 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001632/0.5445, allocations: 0.8649 MB / 0.7032 GB, free: 33.57 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02035/0.5648, allocations: 4.963 MB / 0.708 GB, free: 33.43 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-05/0.5648, allocations: 1.562 kB / 0.708 GB, free: 33.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.0147/0.5795, allocations: 4.25 MB / 0.7122 GB, free: 32.84 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.481e-05/0.5796, allocations: 7.625 kB / 0.7122 GB, free: 32.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.502e-05/0.5796, allocations: 5.438 kB / 0.7122 GB, free: 32.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006642/0.5862, allocations: 1.731 MB / 0.7139 GB, free: 32.53 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001276/0.5875, allocations: 226.4 kB / 0.7141 GB, free: 32.52 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02179/0.6093, allocations: 8.963 MB / 0.7229 GB, free: 28.34 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001589/0.6109, allocations: 181.8 kB / 0.723 GB, free: 28.27 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002575/0.6111, allocations: 44.03 kB / 0.7231 GB, free: 28.26 MB / 494.1 MB Warning: Assuming fixed start value for the following 1 variables: Generator.e1q:VARIABLE(start = Generator.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 (117): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(24,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0006671/0.6118, allocations: 246.7 kB / 0.7233 GB, free: 28.06 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003402/0.6121, allocations: 130.3 kB / 0.7234 GB, free: 27.99 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01303/0.6252, allocations: 3.978 MB / 0.7273 GB, free: 26.77 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.342e-05/0.6252, allocations: 10.53 kB / 0.7273 GB, free: 26.77 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.6252, allocations: 0 / 0.7273 GB, free: 26.77 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.649e-05/0.6252, allocations: 3.984 kB / 0.7273 GB, free: 26.76 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01479/0.64, allocations: 5.549 MB / 0.7328 GB, free: 23.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.83e-05/0.64, allocations: 3.844 kB / 0.7328 GB, free: 23.41 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007646/0.6408, allocations: 135.7 kB / 0.7329 GB, free: 23.37 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005488/0.6463, allocations: 1.734 MB / 0.7346 GB, free: 22.63 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002247/0.6465, allocations: 15.97 kB / 0.7346 GB, free: 22.62 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01686/0.6634, allocations: 7.953 MB / 0.7424 GB, free: 15.78 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.6634, allocations: 4 kB / 0.7424 GB, free: 15.77 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01386/0.6772, allocations: 4.93 MB / 0.7472 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004078/0.6776, allocations: 131 kB / 0.7473 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000323/0.678, allocations: 29.53 kB / 0.7473 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001176/0.6791, allocations: 119.8 kB / 0.7475 GB, free: 10.56 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007283/0.6799, allocations: 224.6 kB / 0.7477 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001256/0.68, allocations: 24 kB / 0.7477 GB, free: 10.31 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007385/0.6807, allocations: 0.6012 MB / 0.7483 GB, free: 9.703 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6807, allocations: 0 / 0.7483 GB, free: 9.703 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0015/0.6822, allocations: 443.6 kB / 0.7487 GB, free: 9.27 MB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003006/0.6825, allocations: 130.8 kB / 0.7488 GB, free: 9.133 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006612/0.6891, allocations: 2.369 MB / 0.7511 GB, free: 6.754 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.6892, allocations: 7.938 kB / 0.7511 GB, free: 6.746 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004437/0.6936, allocations: 1.526 MB / 0.7526 GB, free: 5.215 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001074/0.6947, allocations: 82.92 kB / 0.7527 GB, free: 5.137 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004185/0.6988, allocations: 2.149 MB / 0.7548 GB, free: 2.984 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005547/0.6994, allocations: 1.099 MB / 0.7559 GB, free: 1.859 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003821/0.6998, allocations: 71.42 kB / 0.756 GB, free: 1.789 MB / 494.1 MB Notification: Performance of SimCode: time 1.663e-06/0.6998, allocations: 0 / 0.756 GB, free: 1.789 MB / 494.1 MB Notification: Performance of Templates: time 0.03475/0.7345, allocations: 20.45 MB / 0.7759 GB, free: 13.32 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.751213968032971] Failed to read output from testmodel.py, exit status != 0: 0.7452122319955379 0.764957357 0.566023458 Calling exit ...