Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.09114/0.09114, allocations: 12.37 MB / 31.22 MB, free: 6.473 MB / 26.18 MB " [Timeout remaining time 180] 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.001324/0.001324, allocations: 105 kB / 37.24 MB, free: 1.172 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.646/1.646, allocations: 207.7 MB / 250.9 MB, free: 7.293 MB / 190.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.001748/0.001748, allocations: 208.3 kB / 306.1 MB, free: 312 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.343/0.343, allocations: 79.73 MB / 440.9 MB, free: 12.27 MB / 318.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") [Timeout 660] "Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 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.004321/0.004321, allocations: 147.8 kB / 0.588 GB, free: 8.836 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1605/0.1648, allocations: 71.95 MB / 0.6583 GB, free: 0.8164 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.2858/0.4506, allocations: 5.748 MB / 0.6639 GB, free: 8.18 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004006/0.4546, allocations: 1.772 MB / 0.6656 GB, free: 7.305 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006334/0.4553, allocations: 15.19 kB / 0.6656 GB, free: 7.301 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005882/0.4559, allocations: 220.4 kB / 0.6658 GB, free: 7.18 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001732/0.4576, allocations: 0.762 MB / 0.6666 GB, free: 6.68 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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.001296/0.4589, allocations: 0.6037 MB / 0.6672 GB, free: 6.383 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001313/0.4602, allocations: 1.425 MB / 0.6686 GB, free: 5.672 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003797/0.4606, allocations: 215.7 kB / 0.6688 GB, free: 5.559 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007487/0.4613, allocations: 0.613 MB / 0.6694 GB, free: 5.258 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007488/0.4621, allocations: 0.6614 MB / 0.67 GB, free: 4.969 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001945/0.4623, allocations: 100.7 kB / 0.6701 GB, free: 4.969 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005668/0.4628, allocations: 237.4 kB / 0.6703 GB, free: 4.926 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001922/0.463, allocations: 278.7 kB / 0.6706 GB, free: 4.742 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004162/0.4634, allocations: 0.5117 MB / 0.6711 GB, free: 4.434 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001654/0.4651, allocations: 1.538 MB / 0.6726 GB, free: 3.73 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.4651, allocations: 0.5156 kB / 0.6726 GB, free: 3.73 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.4651, allocations: 0 / 0.6726 GB, free: 3.73 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.351e-05/0.4651, allocations: 4 kB / 0.6726 GB, free: 3.727 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.007815/0.4729, allocations: 2.531 MB / 0.6751 GB, free: 2.586 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.473, allocations: 11.91 kB / 0.6751 GB, free: 2.586 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00511/0.4781, allocations: 0.7892 MB / 0.6759 GB, free: 2.418 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001715/0.4798, allocations: 0.7064 MB / 0.6765 GB, free: 1.918 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003152/0.4801, allocations: 317.3 kB / 0.6768 GB, free: 1.633 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001968/0.4803, allocations: 75.16 kB / 0.6769 GB, free: 1.609 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002386/0.4827, allocations: 1.085 MB / 0.678 GB, free: 1.223 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.33e-05/0.4827, allocations: 3.938 kB / 0.678 GB, free: 1.219 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.457e-05/0.4828, allocations: 29.25 kB / 0.678 GB, free: 1.195 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.479e-05/0.4828, allocations: 23.12 kB / 0.678 GB, free: 1.191 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002527/0.4854, allocations: 1.119 MB / 0.6791 GB, free: 0.8398 MB / 462.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.005708/0.4911, allocations: 2.518 MB / 0.6816 GB, free: 15.58 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002531/0.4936, allocations: 0.8952 MB / 0.6825 GB, free: 15.25 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002538/0.4961, allocations: 0.7028 MB / 0.6831 GB, free: 15 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001411/0.4963, allocations: 12.45 kB / 0.6832 GB, free: 15 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.292e-05/0.4963, allocations: 48.56 kB / 0.6832 GB, free: 14.95 MB / 478.1 MB Notification: Performance of pre-optimization done (n=98): time 4.689e-06/0.4963, allocations: 0 / 0.6832 GB, free: 14.95 MB / 478.1 MB Notification: Performance of matching and sorting (n=98): time 0.03826/0.5346, allocations: 6.499 MB / 0.6895 GB, free: 12.51 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.885e-05/0.5347, allocations: 62.16 kB / 0.6896 GB, free: 12.45 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002353/0.537, allocations: 0.8811 MB / 0.6905 GB, free: 11.94 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003699/0.5374, allocations: 41.58 kB / 0.6905 GB, free: 11.9 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00069/0.5381, allocations: 0.5048 MB / 0.691 GB, free: 11.45 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008729/0.539, allocations: 367.6 kB / 0.6913 GB, free: 11.12 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008378/0.5398, allocations: 200.2 kB / 0.6915 GB, free: 11 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002599/0.5401, allocations: 348.2 kB / 0.6919 GB, free: 10.66 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002694/0.5428, allocations: 0.724 MB / 0.6926 GB, free: 10.31 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002801/0.5456, allocations: 0.8577 MB / 0.6934 GB, free: 9.82 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02783/0.5734, allocations: 4.828 MB / 0.6981 GB, free: 7.457 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.191e-05/0.5734, allocations: 1.312 kB / 0.6981 GB, free: 7.457 MB / 478.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.0192/0.5926, allocations: 4.255 MB / 0.7023 GB, free: 5.375 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.359e-05/0.5926, allocations: 7.188 kB / 0.7023 GB, free: 5.375 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-05/0.5927, allocations: 2.156 kB / 0.7023 GB, free: 5.375 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006619/0.5993, allocations: 1.722 MB / 0.704 GB, free: 4.203 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001326/0.6006, allocations: 215.7 kB / 0.7042 GB, free: 3.992 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02362/0.6242, allocations: 8.741 MB / 0.7127 GB, free: 11.15 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001835/0.6261, allocations: 183.2 kB / 0.7129 GB, free: 10.97 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002568/0.6263, allocations: 35.98 kB / 0.7129 GB, free: 10.94 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 (113): * Single equations (assignments): 112 * 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.0007338/0.627, allocations: 242.8 kB / 0.7132 GB, free: 10.69 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003447/0.6274, allocations: 123.2 kB / 0.7133 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01426/0.6416, allocations: 3.983 MB / 0.7172 GB, free: 6.574 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.395e-05/0.6417, allocations: 12 kB / 0.7172 GB, free: 6.562 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.686e-06/0.6417, allocations: 0 / 0.7172 GB, free: 6.562 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.95e-05/0.6417, allocations: 4.828 kB / 0.7172 GB, free: 6.559 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01611/0.6578, allocations: 4.871 MB / 0.7219 GB, free: 1.645 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.6578, allocations: 0 / 0.7219 GB, free: 1.645 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007681/0.6586, allocations: 135.7 kB / 0.7221 GB, free: 1.512 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006446/0.665, allocations: 1.74 MB / 0.7238 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001236/0.6651, allocations: 19.94 kB / 0.7238 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02059/0.6857, allocations: 7.726 MB / 0.7313 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.6857, allocations: 0 / 0.7313 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01663/0.7024, allocations: 4.922 MB / 0.7361 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004021/0.7028, allocations: 131 kB / 0.7363 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002261/0.703, allocations: 23.94 kB / 0.7363 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001155/0.7042, allocations: 107.9 kB / 0.7364 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007305/0.7049, allocations: 232.4 kB / 0.7366 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.058e-05/0.705, allocations: 27.98 kB / 0.7366 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009168/0.7059, allocations: 0.5887 MB / 0.7372 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.7059, allocations: 0 / 0.7372 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001392/0.7073, allocations: 431.7 kB / 0.7376 GB, free: 1.441 MB / 0.4981 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 (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.0003158/0.7076, allocations: 135.1 kB / 0.7378 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007294/0.7149, allocations: 2.354 MB / 0.7401 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.7149, allocations: 0 / 0.7401 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005188/0.7201, allocations: 1.538 MB / 0.7416 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007491/0.7208, allocations: 84.42 kB / 0.7416 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004311/0.7251, allocations: 2.094 MB / 0.7437 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005995/0.7257, allocations: 0.5054 MB / 0.7442 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003832/0.7261, allocations: 90.34 kB / 0.7443 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002466/0.7264, allocations: 71.36 kB / 0.7443 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of SimCode: time 5e-07/0.7264, allocations: 0 / 0.7443 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of Templates: time 0.0426/0.769, allocations: 25.83 MB / 0.7696 GB, free: 0.6055 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.makefile [Timeout 660] (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.820654371753335] Failed to read output from testmodel.py, exit status != 0: 0.7783424444496632 0.792383498 0.324190105 Calling exit ...