Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08506/0.08506, allocations: 12.77 MB / 29.79 MB, free: 116 kB / 19.63 MB " [Timeout remaining time 180] 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.001262/0.001262, allocations: 123.4 kB / 35.58 MB, free: 1.203 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.381/1.381, allocations: 207.6 MB / 248.9 MB, free: 10.22 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.001808/0.001808, allocations: 202.7 kB / 303.8 MB, free: 5.59 MB / 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.4484/0.4484, allocations: 79.71 MB / 438.3 MB, free: 4.008 MB / 302.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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-master/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") [Timeout 660] "Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.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.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.004167/0.004167, allocations: 145 kB / 0.5839 GB, free: 7.066 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1441, allocations: 72 MB / 0.6542 GB, free: 14.96 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.008365/0.1525, allocations: 6.451 MB / 0.6605 GB, free: 8.477 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004388/0.1568, allocations: 1.83 MB / 0.6623 GB, free: 6.641 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009936/0.1578, allocations: 15.94 kB / 0.6623 GB, free: 6.625 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009222/0.1588, allocations: 218 kB / 0.6626 GB, free: 6.41 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002693/0.1615, allocations: 0.7726 MB / 0.6633 GB, free: 5.633 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001715/0.1632, allocations: 0.6012 MB / 0.6639 GB, free: 5.039 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002333/0.1655, allocations: 1.402 MB / 0.6653 GB, free: 3.633 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004934/0.166, allocations: 220.4 kB / 0.6655 GB, free: 3.402 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001001/0.167, allocations: 0.599 MB / 0.6661 GB, free: 2.801 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009658/0.168, allocations: 0.7155 MB / 0.6668 GB, free: 2.082 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001898/0.1681, allocations: 100 kB / 0.6669 GB, free: 1.984 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005708/0.1687, allocations: 243.8 kB / 0.6671 GB, free: 1.746 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002572/0.169, allocations: 278.8 kB / 0.6674 GB, free: 1.473 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006107/0.1696, allocations: 0.6174 MB / 0.668 GB, free: 0.8516 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002011/0.1716, allocations: 1.505 MB / 0.6694 GB, free: 15.34 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.1716, allocations: 3.938 kB / 0.6694 GB, free: 15.34 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1716, allocations: 0 / 0.6694 GB, free: 15.34 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.318e-05/0.1716, allocations: 0 / 0.6694 GB, free: 15.34 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.008758/0.1804, allocations: 2.59 MB / 0.672 GB, free: 12.69 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.1804, allocations: 11.98 kB / 0.672 GB, free: 12.68 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005227/0.1857, allocations: 0.7913 MB / 0.6727 GB, free: 11.88 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001626/0.1873, allocations: 0.7693 MB / 0.6735 GB, free: 11.06 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003446/0.1876, allocations: 252.2 kB / 0.6737 GB, free: 10.78 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002118/0.1878, allocations: 80 kB / 0.6738 GB, free: 10.7 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002554/0.1904, allocations: 1.073 MB / 0.6749 GB, free: 9.621 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/0.1904, allocations: 3.938 kB / 0.6749 GB, free: 9.617 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001001/0.1905, allocations: 32 kB / 0.6749 GB, free: 9.586 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.785e-05/0.1905, allocations: 20 kB / 0.6749 GB, free: 9.566 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002718/0.1933, allocations: 1.117 MB / 0.676 GB, free: 8.445 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.006644/0.1999, allocations: 3.425 MB / 0.6793 GB, free: 4.871 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002345/0.2022, allocations: 1.325 MB / 0.6806 GB, free: 3.426 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001787/0.204, allocations: 0.6992 MB / 0.6813 GB, free: 2.727 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000125/0.2042, allocations: 12.98 kB / 0.6813 GB, free: 2.715 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.783e-05/0.2042, allocations: 43.56 kB / 0.6814 GB, free: 2.664 MB / 478.1 MB Notification: Performance of pre-optimization done (n=96): time 3.807e-06/0.2042, allocations: 0 / 0.6814 GB, free: 2.664 MB / 478.1 MB Notification: Performance of matching and sorting (n=96): time 0.0283/0.2325, allocations: 6.719 MB / 0.6879 GB, free: 11.91 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.396e-05/0.2326, allocations: 64.41 kB / 0.688 GB, free: 11.84 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001327/0.2339, allocations: 0.8877 MB / 0.6889 GB, free: 10.93 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002457/0.2341, allocations: 45.7 kB / 0.6889 GB, free: 10.88 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004238/0.2346, allocations: 0.4934 MB / 0.6894 GB, free: 10.38 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004699/0.235, allocations: 357 kB / 0.6897 GB, free: 10.03 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004313/0.2355, allocations: 198.9 kB / 0.6899 GB, free: 9.824 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.2356, allocations: 345.9 kB / 0.6903 GB, free: 9.48 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00174/0.2374, allocations: 0.713 MB / 0.691 GB, free: 8.77 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001852/0.2392, allocations: 0.8462 MB / 0.6918 GB, free: 7.891 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02008/0.2593, allocations: 4.775 MB / 0.6964 GB, free: 3.078 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.685e-06/0.2593, allocations: 0 / 0.6964 GB, free: 3.078 MB / 494.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.3032/0.5625, allocations: 4.23 MB / 0.7006 GB, free: 41.04 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.313e-05/0.5625, allocations: 5.594 kB / 0.7006 GB, free: 41.04 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.608e-05/0.5626, allocations: 3.672 kB / 0.7006 GB, free: 41.04 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006959/0.5695, allocations: 1.867 MB / 0.7024 GB, free: 41.02 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001153/0.5707, allocations: 203.4 kB / 0.7026 GB, free: 41.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02323/0.5939, allocations: 9.086 MB / 0.7115 GB, free: 37.79 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001706/0.5956, allocations: 178.2 kB / 0.7116 GB, free: 37.77 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00013/0.5957, allocations: 45.83 kB / 0.7117 GB, free: 37.75 MB / 494.1 MB Warning: Assuming fixed start value for the following 2 variables: order2_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2_Inputs_Outputs1.delta:VARIABLE(flow=false start = order2_Inputs_Outputs1.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" 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 (108): * Single equations (assignments): 107 * 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 prepare postOptimizeDAE: time 0.0005137/0.5962, allocations: 249.7 kB / 0.7119 GB, free: 37.55 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002145/0.5965, allocations: 123.4 kB / 0.712 GB, free: 37.49 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01372/0.6102, allocations: 3.97 MB / 0.7159 GB, free: 36.61 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-05/0.6102, allocations: 9.594 kB / 0.7159 GB, free: 36.61 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.6102, allocations: 4 kB / 0.7159 GB, free: 36.61 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.662e-05/0.6102, allocations: 6.297 kB / 0.7159 GB, free: 36.61 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01485/0.6251, allocations: 5.581 MB / 0.7214 GB, free: 34.69 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.661e-05/0.6251, allocations: 5.031 kB / 0.7214 GB, free: 34.68 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007859/0.6259, allocations: 130.9 kB / 0.7215 GB, free: 34.67 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006021/0.6319, allocations: 1.744 MB / 0.7232 GB, free: 34.08 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001746/0.6321, allocations: 16.72 kB / 0.7232 GB, free: 34.07 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01701/0.6491, allocations: 8.073 MB / 0.7311 GB, free: 28.94 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.6491, allocations: 0 / 0.7311 GB, free: 28.94 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.014/0.6631, allocations: 4.941 MB / 0.7359 GB, free: 26.43 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003601/0.6635, allocations: 210.1 kB / 0.7361 GB, free: 26.25 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001624/0.6636, allocations: 19.91 kB / 0.7362 GB, free: 26.23 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001007/0.6646, allocations: 106.6 kB / 0.7363 GB, free: 26.19 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000662/0.6653, allocations: 216.4 kB / 0.7365 GB, free: 26.05 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.248e-05/0.6654, allocations: 29.38 kB / 0.7365 GB, free: 26.02 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005932/0.6659, allocations: 0.5951 MB / 0.7371 GB, free: 25.42 MB / 494.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.6659, allocations: 0 / 0.7371 GB, free: 25.42 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001276/0.6672, allocations: 433.4 kB / 0.7375 GB, free: 25.01 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order2_Inputs_Outputs1.delta,order2_Inputs_Outputs1.w) * 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 (63): * Single equations (assignments): 62 * 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.0002569/0.6675, allocations: 129.4 kB / 0.7376 GB, free: 24.88 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006293/0.6738, allocations: 2.369 MB / 0.7399 GB, free: 22.51 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.6738, allocations: 0 / 0.7399 GB, free: 22.51 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004387/0.6782, allocations: 1.52 MB / 0.7414 GB, free: 20.98 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007913/0.679, allocations: 94.36 kB / 0.7415 GB, free: 20.89 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003322/0.6823, allocations: 2.015 MB / 0.7435 GB, free: 18.86 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004298/0.6827, allocations: 1.084 MB / 0.7445 GB, free: 17.75 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003196/0.683, allocations: 71.42 kB / 0.7446 GB, free: 17.68 MB / 494.1 MB Notification: Performance of SimCode: time 1.212e-06/0.683, allocations: 0 / 0.7446 GB, free: 17.68 MB / 494.1 MB Notification: Performance of Templates: time 0.02211/0.7051, allocations: 20.13 MB / 0.7643 GB, free: 13.53 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.makefile [Timeout 660] (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.157424326986074] Failed to read output from testmodel.py, exit status != 0: 0.7135043710004538 0.726331869 0.551932164 Calling exit ...