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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00153/0.00153, allocations: 106.5 kB / 16.45 MB, free: 6.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 225.6 MB / 244.8 MB, free: 14.19 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001503/0.001503, allocations: 185.2 kB / 299.8 MB, free: 9.844 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.4651/0.4651, allocations: 79.72 MB / 434.4 MB, free: 6.203 MB / 302.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.003141/0.003141, allocations: 83.84 kB / 0.5789 GB, free: 9.449 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.158, allocations: 72.09 MB / 0.6493 GB, free: 1.266 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.007904/0.1659, allocations: 6.507 MB / 0.6556 GB, free: 10.71 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004393/0.1703, allocations: 1.88 MB / 0.6575 GB, free: 8.828 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001027/0.1713, allocations: 8 kB / 0.6575 GB, free: 8.82 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007006/0.172, allocations: 222 kB / 0.6577 GB, free: 8.602 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002172/0.1742, allocations: 0.7765 MB / 0.6584 GB, free: 7.82 MB / 462.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.001459/0.1756, allocations: 0.6116 MB / 0.659 GB, free: 7.215 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001845/0.1775, allocations: 1.425 MB / 0.6604 GB, free: 5.785 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004455/0.1779, allocations: 232.3 kB / 0.6606 GB, free: 5.547 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008088/0.1787, allocations: 0.599 MB / 0.6612 GB, free: 4.945 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008615/0.1796, allocations: 0.731 MB / 0.6619 GB, free: 4.211 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001582/0.1798, allocations: 104 kB / 0.662 GB, free: 4.109 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000498/0.1803, allocations: 239.8 kB / 0.6623 GB, free: 3.875 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002509/0.1805, allocations: 286.7 kB / 0.6625 GB, free: 3.594 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005634/0.1811, allocations: 0.6174 MB / 0.6631 GB, free: 2.973 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001872/0.1829, allocations: 1.525 MB / 0.6646 GB, free: 1.441 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.1829, allocations: 4 kB / 0.6646 GB, free: 1.438 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.183, allocations: 3.938 kB / 0.6646 GB, free: 1.434 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.15e-05/0.183, allocations: 7.938 kB / 0.6646 GB, free: 1.426 MB / 462.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.008811/0.1918, allocations: 2.601 MB / 0.6672 GB, free: 14.77 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.1918, allocations: 8.031 kB / 0.6672 GB, free: 14.76 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005231/0.1971, allocations: 0.7874 MB / 0.668 GB, free: 13.97 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001648/0.1987, allocations: 0.7773 MB / 0.6687 GB, free: 13.14 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000335/0.199, allocations: 260.1 kB / 0.669 GB, free: 12.85 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001744/0.1992, allocations: 79.95 kB / 0.669 GB, free: 12.77 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002589/0.2018, allocations: 1.081 MB / 0.6701 GB, free: 11.68 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.608e-05/0.2018, allocations: 11.92 kB / 0.6701 GB, free: 11.67 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001015/0.2019, allocations: 28 kB / 0.6701 GB, free: 11.64 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.193e-05/0.202, allocations: 20 kB / 0.6702 GB, free: 11.62 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002728/0.2047, allocations: 1.124 MB / 0.6713 GB, free: 10.5 MB / 478.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.006298/0.211, allocations: 3.456 MB / 0.6746 GB, free: 6.887 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002333/0.2133, allocations: 1.337 MB / 0.6759 GB, free: 5.441 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001703/0.215, allocations: 0.707 MB / 0.6766 GB, free: 4.73 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001329/0.2152, allocations: 16.98 kB / 0.6766 GB, free: 4.711 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.568e-05/0.2152, allocations: 43.56 kB / 0.6767 GB, free: 4.66 MB / 478.1 MB Notification: Performance of pre-optimization done (n=98): time 3.156e-06/0.2152, allocations: 0 / 0.6767 GB, free: 4.66 MB / 478.1 MB Notification: Performance of matching and sorting (n=98): time 0.02701/0.2422, allocations: 6.583 MB / 0.6831 GB, free: 14.04 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.126e-05/0.2423, allocations: 60.41 kB / 0.6832 GB, free: 13.97 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00132/0.2436, allocations: 0.8923 MB / 0.684 GB, free: 13.06 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000248/0.2438, allocations: 41.7 kB / 0.6841 GB, free: 13.01 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004392/0.2443, allocations: 0.4974 MB / 0.6846 GB, free: 12.51 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004297/0.2447, allocations: 368.8 kB / 0.6849 GB, free: 12.14 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004401/0.2452, allocations: 206.9 kB / 0.6851 GB, free: 11.93 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.2453, allocations: 353.9 kB / 0.6855 GB, free: 11.58 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001805/0.2471, allocations: 0.7248 MB / 0.6862 GB, free: 10.86 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001933/0.2491, allocations: 0.8657 MB / 0.687 GB, free: 9.961 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02022/0.2693, allocations: 4.85 MB / 0.6917 GB, free: 5.078 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.2693, allocations: 0 / 0.6917 GB, free: 5.078 MB / 494.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01516/0.2844, allocations: 4.262 MB / 0.6959 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.154e-05/0.2845, allocations: 4 kB / 0.6959 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.9e-05/0.2845, allocations: 4 kB / 0.6959 GB, free: 0.793 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.3442/0.6287, allocations: 1.714 MB / 0.6976 GB, free: 42.87 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001241/0.6299, allocations: 227.9 kB / 0.6978 GB, free: 42.87 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02324/0.6532, allocations: 9.069 MB / 0.7067 GB, free: 39.83 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001591/0.6548, allocations: 180.7 kB / 0.7068 GB, free: 39.81 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001216/0.6549, allocations: 42.8 kB / 0.7069 GB, free: 39.8 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.0004766/0.6554, allocations: 240.2 kB / 0.7071 GB, free: 39.61 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002881/0.6556, allocations: 125.8 kB / 0.7072 GB, free: 39.56 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01466/0.6703, allocations: 3.978 MB / 0.7111 GB, free: 38.74 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.23e-05/0.6703, allocations: 13.06 kB / 0.7111 GB, free: 38.74 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.6703, allocations: 1.219 kB / 0.7111 GB, free: 38.74 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.44e-05/0.6704, allocations: 4.453 kB / 0.7111 GB, free: 38.74 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0156/0.686, allocations: 5.578 MB / 0.7166 GB, free: 36.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-05/0.686, allocations: 0 / 0.7166 GB, free: 36.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007968/0.6868, allocations: 141.6 kB / 0.7167 GB, free: 36.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006035/0.6928, allocations: 1.732 MB / 0.7184 GB, free: 36.5 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002094/0.693, allocations: 18.39 kB / 0.7184 GB, free: 36.49 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01766/0.7107, allocations: 8.057 MB / 0.7263 GB, free: 32.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.7107, allocations: 3.969 kB / 0.7263 GB, free: 32.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01414/0.7248, allocations: 4.932 MB / 0.7311 GB, free: 29.69 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003681/0.7252, allocations: 213 kB / 0.7313 GB, free: 29.51 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001774/0.7254, allocations: 15.84 kB / 0.7313 GB, free: 29.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001045/0.7264, allocations: 114.2 kB / 0.7314 GB, free: 29.45 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006701/0.7271, allocations: 219.2 kB / 0.7316 GB, free: 29.32 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.153e-05/0.7272, allocations: 23.72 kB / 0.7317 GB, free: 29.31 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006262/0.7278, allocations: 0.592 MB / 0.7322 GB, free: 28.89 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.7278, allocations: 0 / 0.7322 GB, free: 28.89 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001213/0.729, allocations: 447 kB / 0.7327 GB, free: 28.47 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.0002672/0.7293, allocations: 130.1 kB / 0.7328 GB, free: 28.34 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006267/0.7355, allocations: 2.375 MB / 0.7351 GB, free: 25.97 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.7355, allocations: 0 / 0.7351 GB, free: 25.97 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004497/0.74, allocations: 1.532 MB / 0.7366 GB, free: 24.43 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007836/0.7408, allocations: 84.42 kB / 0.7367 GB, free: 24.34 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003468/0.7443, allocations: 2.085 MB / 0.7387 GB, free: 22.27 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003766/0.7447, allocations: 1.095 MB / 0.7398 GB, free: 21.15 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003099/0.745, allocations: 97.28 kB / 0.7399 GB, free: 21.05 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002256/0.7452, allocations: 71.42 kB / 0.74 GB, free: 20.98 MB / 494.1 MB Notification: Performance of SimCode: time 9.32e-07/0.7452, allocations: 0 / 0.74 GB, free: 20.98 MB / 494.1 MB Notification: Performance of Templates: time 0.0314/0.7766, allocations: 23.91 MB / 0.7633 GB, free: 13.09 MB / 0.4981 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: 6.470032355748117]