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.002003/0.002003, allocations: 110.1 kB / 19.59 MB, free: 2.211 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.569/1.569, allocations: 230.5 MB / 253.2 MB, free: 8.102 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.001866/0.001866, allocations: 213.2 kB / 309.7 MB, free: 3.133 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.5232/0.5232, allocations: 79.73 MB / 445.9 MB, free: 14.8 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.002815/0.002815, allocations: 87.86 kB / 0.5938 GB, free: 13.61 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1897/0.1925, allocations: 73.29 MB / 0.6654 GB, free: 4.207 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.009986/0.2025, allocations: 6.524 MB / 0.6717 GB, free: 13.65 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.005609/0.2081, allocations: 1.974 MB / 0.6737 GB, free: 11.67 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001517/0.2096, allocations: 15.94 kB / 0.6737 GB, free: 11.65 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001082/0.2107, allocations: 222 kB / 0.6739 GB, free: 11.43 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003387/0.2141, allocations: 0.7876 MB / 0.6747 GB, free: 10.64 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.002071/0.2161, allocations: 0.6437 MB / 0.6753 GB, free: 10.01 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003015/0.2192, allocations: 1.433 MB / 0.6767 GB, free: 8.57 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006682/0.2198, allocations: 236.8 kB / 0.6769 GB, free: 8.328 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00132/0.2211, allocations: 0.6185 MB / 0.6775 GB, free: 7.707 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009859/0.2221, allocations: 0.7426 MB / 0.6782 GB, free: 6.961 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001743/0.2223, allocations: 100 kB / 0.6783 GB, free: 6.863 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006431/0.2229, allocations: 247.9 kB / 0.6786 GB, free: 6.621 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00029/0.2232, allocations: 282.7 kB / 0.6788 GB, free: 6.344 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006842/0.2239, allocations: 0.6329 MB / 0.6795 GB, free: 5.707 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002158/0.2261, allocations: 1.56 MB / 0.681 GB, free: 4.141 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.2261, allocations: 0 / 0.681 GB, free: 4.141 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.2261, allocations: 0 / 0.681 GB, free: 4.141 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.841e-05/0.2261, allocations: 4 kB / 0.681 GB, free: 4.137 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.008699/0.2348, allocations: 2.546 MB / 0.6835 GB, free: 1.551 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.525e-05/0.2349, allocations: 11.98 kB / 0.6835 GB, free: 1.539 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005374/0.2402, allocations: 0.8303 MB / 0.6843 GB, free: 0.707 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001911/0.2421, allocations: 0.721 MB / 0.685 GB, free: 15.94 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004169/0.2426, allocations: 311.5 kB / 0.6853 GB, free: 15.59 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001708/0.2427, allocations: 80 kB / 0.6854 GB, free: 15.51 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002518/0.2452, allocations: 1.081 MB / 0.6864 GB, free: 14.42 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.345e-05/0.2453, allocations: 3.938 kB / 0.6864 GB, free: 14.41 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.441e-05/0.2454, allocations: 28 kB / 0.6865 GB, free: 14.39 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.279e-05/0.2454, allocations: 27.98 kB / 0.6865 GB, free: 14.36 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002703/0.2481, allocations: 1.12 MB / 0.6876 GB, free: 13.24 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.006835/0.2549, allocations: 3.402 MB / 0.6909 GB, free: 9.699 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002054/0.257, allocations: 0.8843 MB / 0.6918 GB, free: 8.809 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001673/0.2587, allocations: 0.707 MB / 0.6925 GB, free: 8.094 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001224/0.2588, allocations: 24.97 kB / 0.6925 GB, free: 8.07 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.097e-05/0.2588, allocations: 47.5 kB / 0.6925 GB, free: 8.016 MB / 494.1 MB Notification: Performance of pre-optimization done (n=98): time 3.506e-06/0.2588, allocations: 3.938 kB / 0.6925 GB, free: 8.012 MB / 494.1 MB Notification: Performance of matching and sorting (n=98): time 0.02644/0.2853, allocations: 6.498 MB / 0.6989 GB, free: 1.5 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.73e-05/0.2854, allocations: 64.41 kB / 0.6989 GB, free: 1.426 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001881/0.2872, allocations: 0.9008 MB / 0.6998 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002941/0.2875, allocations: 45.69 kB / 0.6999 GB, free: 468 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.4197/0.7073, allocations: 498.2 kB / 0.7003 GB, free: 35 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005897/0.7079, allocations: 367.5 kB / 0.7007 GB, free: 34.93 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004933/0.7084, allocations: 207.1 kB / 0.7009 GB, free: 34.91 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.956e-05/0.7085, allocations: 348.2 kB / 0.7012 GB, free: 34.6 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001616/0.7101, allocations: 0.7304 MB / 0.7019 GB, free: 34.6 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001659/0.7117, allocations: 0.8608 MB / 0.7028 GB, free: 34.51 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01996/0.7317, allocations: 4.964 MB / 0.7076 GB, free: 34.37 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.039e-05/0.7317, allocations: 1.547 kB / 0.7076 GB, free: 34.37 MB / 494.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01436/0.7461, allocations: 4.259 MB / 0.7118 GB, free: 33.83 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.052e-05/0.7461, allocations: 6.844 kB / 0.7118 GB, free: 33.83 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.151e-05/0.7461, allocations: 6.719 kB / 0.7118 GB, free: 33.83 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006577/0.7527, allocations: 1.727 MB / 0.7135 GB, free: 33.53 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001317/0.754, allocations: 228.3 kB / 0.7137 GB, free: 33.52 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0215/0.7755, allocations: 8.96 MB / 0.7224 GB, free: 29.36 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001706/0.7772, allocations: 186.2 kB / 0.7226 GB, free: 29.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003209/0.7775, allocations: 40.23 kB / 0.7227 GB, free: 29.29 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.0007581/0.7783, allocations: 246.9 kB / 0.7229 GB, free: 29.09 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004109/0.7787, allocations: 124.9 kB / 0.723 GB, free: 29.02 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01256/0.7913, allocations: 3.978 MB / 0.7269 GB, free: 27.84 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.958e-05/0.7913, allocations: 9.812 kB / 0.7269 GB, free: 27.84 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-06/0.7913, allocations: 4.625 kB / 0.7269 GB, free: 27.84 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-05/0.7913, allocations: 3.984 kB / 0.7269 GB, free: 27.84 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01475/0.8061, allocations: 5.552 MB / 0.7323 GB, free: 24.48 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.705e-05/0.8061, allocations: 0 / 0.7323 GB, free: 24.48 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007584/0.8068, allocations: 134.1 kB / 0.7325 GB, free: 24.45 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00518/0.812, allocations: 1.733 MB / 0.7342 GB, free: 23.71 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002038/0.8122, allocations: 18.73 kB / 0.7342 GB, free: 23.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01588/0.8281, allocations: 7.955 MB / 0.7419 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.8281, allocations: 3.938 kB / 0.7419 GB, free: 15.92 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0132/0.8413, allocations: 4.919 MB / 0.7467 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004367/0.8418, allocations: 142.9 kB / 0.7469 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003707/0.8421, allocations: 23.98 kB / 0.7469 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001146/0.8433, allocations: 107.8 kB / 0.747 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006975/0.844, allocations: 228.6 kB / 0.7472 GB, free: 10.49 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.136e-05/0.844, allocations: 20 kB / 0.7472 GB, free: 10.47 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006676/0.8447, allocations: 0.6075 MB / 0.7478 GB, free: 9.855 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.8447, allocations: 0 / 0.7478 GB, free: 9.855 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001397/0.8461, allocations: 443.6 kB / 0.7483 GB, free: 9.422 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.0002675/0.8464, allocations: 130 kB / 0.7484 GB, free: 9.285 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005945/0.8523, allocations: 2.378 MB / 0.7507 GB, free: 6.895 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.8523, allocations: 0 / 0.7507 GB, free: 6.895 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004002/0.8563, allocations: 1.526 MB / 0.7522 GB, free: 5.363 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008366/0.8572, allocations: 87.08 kB / 0.7523 GB, free: 5.281 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003448/0.8606, allocations: 2.149 MB / 0.7544 GB, free: 3.133 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003585/0.861, allocations: 0.5098 MB / 0.7549 GB, free: 2.59 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003017/0.8613, allocations: 79.42 kB / 0.755 GB, free: 2.512 MB / 494.1 MB Notification: Performance of SimCode: time 1.232e-06/0.8613, allocations: 0 / 0.755 GB, free: 2.512 MB / 494.1 MB Notification: Performance of Templates: time 0.03149/0.8928, allocations: 20.44 MB / 0.7749 GB, free: 14.06 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: 10.021680905018002] Failed to read output from testmodel.py, exit status != 0: 0.9032586440443993 0.918328997 0.688785448 Calling exit ...