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.09532/0.09532, allocations: 12.37 MB / 31.97 MB, free: 6.43 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.001517/0.001517, allocations: 113 kB / 38 MB, free: 1.113 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.675/1.675, allocations: 207.7 MB / 251.6 MB, free: 7.301 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.002207/0.002207, allocations: 208.4 kB / 306.9 MB, free: 320 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.3483/0.3483, allocations: 79.73 MB / 441.7 MB, free: 12.28 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.004345/0.004345, allocations: 146.8 kB / 0.5887 GB, free: 8.848 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1653, allocations: 71.95 MB / 0.659 GB, free: 0.8242 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.3098/0.4751, allocations: 5.747 MB / 0.6646 GB, free: 8.203 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003979/0.4791, allocations: 1.762 MB / 0.6663 GB, free: 7.305 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008774/0.4799, allocations: 15.25 kB / 0.6664 GB, free: 7.301 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000605/0.4805, allocations: 227 kB / 0.6666 GB, free: 7.176 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001809/0.4823, allocations: 0.7641 MB / 0.6673 GB, free: 6.672 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.001389/0.4837, allocations: 0.5986 MB / 0.6679 GB, free: 6.379 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001669/0.4854, allocations: 1.433 MB / 0.6693 GB, free: 5.66 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003873/0.4858, allocations: 216.9 kB / 0.6695 GB, free: 5.547 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006978/0.4865, allocations: 0.6049 MB / 0.6701 GB, free: 5.254 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006816/0.4872, allocations: 0.6717 MB / 0.6708 GB, free: 4.957 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001696/0.4873, allocations: 101.1 kB / 0.6709 GB, free: 4.957 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005344/0.4879, allocations: 233 kB / 0.6711 GB, free: 4.918 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002065/0.4881, allocations: 285.4 kB / 0.6713 GB, free: 4.727 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003741/0.4885, allocations: 0.5083 MB / 0.6718 GB, free: 4.426 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001508/0.49, allocations: 1.542 MB / 0.6733 GB, free: 3.715 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.49, allocations: 0 / 0.6733 GB, free: 3.715 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.49, allocations: 3.938 kB / 0.6734 GB, free: 3.711 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.272e-05/0.49, allocations: 1.062 kB / 0.6734 GB, free: 3.711 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.007607/0.4976, allocations: 2.529 MB / 0.6758 GB, free: 2.574 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.4976, allocations: 8.484 kB / 0.6758 GB, free: 2.574 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004847/0.5025, allocations: 0.788 MB / 0.6766 GB, free: 2.41 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001511/0.504, allocations: 0.712 MB / 0.6773 GB, free: 1.902 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002854/0.5043, allocations: 312.1 kB / 0.6776 GB, free: 1.621 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001606/0.5044, allocations: 78.22 kB / 0.6777 GB, free: 1.594 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002303/0.5067, allocations: 1.077 MB / 0.6787 GB, free: 1.215 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.409e-05/0.5068, allocations: 6.906 kB / 0.6787 GB, free: 1.211 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-05/0.5069, allocations: 30.64 kB / 0.6788 GB, free: 1.188 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.996e-05/0.5069, allocations: 17.12 kB / 0.6788 GB, free: 1.188 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002523/0.5094, allocations: 1.114 MB / 0.6799 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.006364/0.5158, allocations: 2.528 MB / 0.6823 GB, free: 15.57 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002279/0.518, allocations: 0.8849 MB / 0.6832 GB, free: 15.25 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001851/0.5199, allocations: 0.7025 MB / 0.6839 GB, free: 15 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001207/0.52, allocations: 17.47 kB / 0.6839 GB, free: 15 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.657e-05/0.5201, allocations: 40.53 kB / 0.6839 GB, free: 14.95 MB / 478.1 MB Notification: Performance of pre-optimization done (n=98): time 3.356e-06/0.5201, allocations: 0 / 0.6839 GB, free: 14.95 MB / 478.1 MB Notification: Performance of matching and sorting (n=98): time 0.0276/0.5477, allocations: 6.503 MB / 0.6903 GB, free: 12.52 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.783e-05/0.5477, allocations: 63.38 kB / 0.6903 GB, free: 12.46 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00132/0.5491, allocations: 0.8799 MB / 0.6912 GB, free: 11.95 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002809/0.5493, allocations: 45.89 kB / 0.6912 GB, free: 11.91 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004487/0.5498, allocations: 0.4974 MB / 0.6917 GB, free: 11.46 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004572/0.5502, allocations: 371.5 kB / 0.6921 GB, free: 11.14 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004392/0.5507, allocations: 199.5 kB / 0.6923 GB, free: 11.01 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001979/0.5509, allocations: 351.6 kB / 0.6926 GB, free: 10.67 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001746/0.5526, allocations: 0.729 MB / 0.6933 GB, free: 10.31 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001867/0.5545, allocations: 0.8496 MB / 0.6942 GB, free: 9.832 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01952/0.574, allocations: 4.832 MB / 0.6989 GB, free: 7.465 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.211e-05/0.574, allocations: 1.25 kB / 0.6989 GB, free: 7.465 MB / 478.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01526/0.5893, allocations: 4.255 MB / 0.703 GB, free: 5.383 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.99e-05/0.5893, allocations: 10.47 kB / 0.703 GB, free: 5.379 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.509e-05/0.5893, allocations: 3.219 kB / 0.703 GB, free: 5.379 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006377/0.5957, allocations: 1.718 MB / 0.7047 GB, free: 4.219 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001308/0.597, allocations: 223.7 kB / 0.7049 GB, free: 4 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02287/0.6199, allocations: 8.731 MB / 0.7135 GB, free: 11.17 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001805/0.6217, allocations: 175.2 kB / 0.7136 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000297/0.622, allocations: 47.98 kB / 0.7137 GB, free: 10.95 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.0008493/0.6228, allocations: 238.8 kB / 0.7139 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004436/0.6233, allocations: 123.2 kB / 0.714 GB, free: 10.59 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01382/0.6371, allocations: 3.983 MB / 0.7179 GB, free: 6.59 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.561e-05/0.6371, allocations: 12 kB / 0.7179 GB, free: 6.578 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/0.6371, allocations: 0 / 0.7179 GB, free: 6.578 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.644e-05/0.6371, allocations: 3.984 kB / 0.7179 GB, free: 6.574 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0164/0.6536, allocations: 4.863 MB / 0.7227 GB, free: 1.668 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/0.6536, allocations: 4 kB / 0.7227 GB, free: 1.664 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008308/0.6544, allocations: 139.5 kB / 0.7228 GB, free: 1.531 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006246/0.6606, allocations: 1.745 MB / 0.7245 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002102/0.6608, allocations: 16 kB / 0.7245 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01988/0.6807, allocations: 7.726 MB / 0.7321 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.6807, allocations: 0 / 0.7321 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01651/0.6972, allocations: 4.922 MB / 0.7369 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005129/0.6977, allocations: 135 kB / 0.737 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003371/0.6981, allocations: 23.94 kB / 0.737 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001254/0.6993, allocations: 107.9 kB / 0.7371 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007951/0.7001, allocations: 228.5 kB / 0.7374 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000115/0.7002, allocations: 27.98 kB / 0.7374 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009882/0.7012, allocations: 0.5927 MB / 0.738 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.7012, allocations: 0 / 0.738 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001614/0.7029, allocations: 431.7 kB / 0.7384 GB, free: 1.453 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.0003497/0.7032, allocations: 127.1 kB / 0.7385 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007235/0.7104, allocations: 2.359 MB / 0.7408 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.7104, allocations: 0.5625 kB / 0.7408 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004993/0.7154, allocations: 1.53 MB / 0.7423 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009364/0.7164, allocations: 86.22 kB / 0.7424 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004658/0.721, allocations: 2.133 MB / 0.7445 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006301/0.7217, allocations: 0.5093 MB / 0.7449 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003593/0.722, allocations: 75.42 kB / 0.745 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of SimCode: time 1.162e-06/0.722, allocations: 0 / 0.745 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of Templates: time 0.03508/0.7571, allocations: 20.76 MB / 0.7653 GB, free: 5.789 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: 9.58589430572465] Failed to read output from testmodel.py, exit status != 0: 0.7678180262446404 0.786155088 0.292787897 Calling exit ...