Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_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.001345/0.001345, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.465/1.465, allocations: 230.6 MB / 253.4 MB, free: 8.086 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.001967/0.001967, allocations: 209.2 kB / 310 MB, free: 3.113 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.4604/0.4604, allocations: 79.74 MB / 446.2 MB, free: 14.74 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.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_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.002618/0.002618, allocations: 89.89 kB / 0.5942 GB, free: 13.43 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1651/0.1677, allocations: 73.29 MB / 0.6657 GB, free: 4.031 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.008773/0.1765, allocations: 6.45 MB / 0.672 GB, free: 13.55 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004853/0.1813, allocations: 1.962 MB / 0.674 GB, free: 11.58 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001358/0.1827, allocations: 15.94 kB / 0.674 GB, free: 11.57 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001031/0.1837, allocations: 226 kB / 0.6742 GB, free: 11.34 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003292/0.187, allocations: 0.7822 MB / 0.675 GB, free: 10.56 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001879/0.1889, allocations: 0.6308 MB / 0.6756 GB, free: 9.938 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002513/0.1914, allocations: 1.409 MB / 0.677 GB, free: 8.523 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005765/0.192, allocations: 232.8 kB / 0.6772 GB, free: 8.285 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001256/0.1933, allocations: 0.6107 MB / 0.6778 GB, free: 7.672 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001359/0.1946, allocations: 0.7232 MB / 0.6785 GB, free: 6.945 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003577/0.195, allocations: 100 kB / 0.6786 GB, free: 6.848 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007714/0.1957, allocations: 251.9 kB / 0.6788 GB, free: 6.602 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004019/0.1961, allocations: 286.7 kB / 0.6791 GB, free: 6.32 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009381/0.1971, allocations: 0.6252 MB / 0.6797 GB, free: 5.691 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00279/0.1999, allocations: 1.525 MB / 0.6812 GB, free: 4.16 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.867e-06/0.1999, allocations: 4 kB / 0.6812 GB, free: 4.156 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1999, allocations: 0 / 0.6812 GB, free: 4.156 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.099e-05/0.1999, allocations: 0 / 0.6812 GB, free: 4.156 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.009351/0.2093, allocations: 2.526 MB / 0.6837 GB, free: 1.59 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.2093, allocations: 19.98 kB / 0.6837 GB, free: 1.57 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005576/0.2149, allocations: 0.8186 MB / 0.6845 GB, free: 0.75 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001747/0.2167, allocations: 0.7207 MB / 0.6852 GB, free: 15.98 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004136/0.2171, allocations: 311.6 kB / 0.6855 GB, free: 15.63 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002452/0.2173, allocations: 72 kB / 0.6855 GB, free: 15.56 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002664/0.22, allocations: 1.069 MB / 0.6866 GB, free: 14.48 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.095e-05/0.22, allocations: 7.938 kB / 0.6866 GB, free: 14.47 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001019/0.2201, allocations: 28 kB / 0.6866 GB, free: 14.45 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.449e-05/0.2201, allocations: 20 kB / 0.6866 GB, free: 14.43 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002728/0.2229, allocations: 1.117 MB / 0.6877 GB, free: 13.31 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.006799/0.2297, allocations: 3.382 MB / 0.691 GB, free: 9.789 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002138/0.2318, allocations: 0.8727 MB / 0.6919 GB, free: 8.91 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001665/0.2335, allocations: 0.6953 MB / 0.6926 GB, free: 8.207 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001466/0.2336, allocations: 16.98 kB / 0.6926 GB, free: 8.191 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.33e-05/0.2337, allocations: 47.55 kB / 0.6926 GB, free: 8.137 MB / 494.1 MB Notification: Performance of pre-optimization done (n=96): time 2.574e-06/0.2337, allocations: 0 / 0.6926 GB, free: 8.137 MB / 494.1 MB Notification: Performance of matching and sorting (n=96): time 0.02817/0.2618, allocations: 6.646 MB / 0.6991 GB, free: 1.477 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.65e-05/0.2619, allocations: 64.41 kB / 0.6992 GB, free: 1.402 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00188/0.2638, allocations: 0.8923 MB / 0.7 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003491/0.2641, allocations: 49.69 kB / 0.7001 GB, free: 448 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.3783/0.6424, allocations: 0.4906 MB / 0.7006 GB, free: 34.32 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006199/0.6431, allocations: 358.9 kB / 0.7009 GB, free: 34.24 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004645/0.6435, allocations: 200.5 kB / 0.7011 GB, free: 34.21 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.296e-05/0.6436, allocations: 346 kB / 0.7014 GB, free: 33.91 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001657/0.6453, allocations: 0.7124 MB / 0.7021 GB, free: 33.91 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001628/0.6469, allocations: 0.8347 MB / 0.7029 GB, free: 33.82 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02026/0.6672, allocations: 4.899 MB / 0.7077 GB, free: 33.67 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.214e-05/0.6672, allocations: 0.6875 kB / 0.7077 GB, free: 33.67 MB / 494.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01465/0.6818, allocations: 4.231 MB / 0.7119 GB, free: 32.85 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.444e-05/0.6819, allocations: 9.438 kB / 0.7119 GB, free: 32.85 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.888e-05/0.6819, allocations: 3.031 kB / 0.7119 GB, free: 32.85 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006836/0.6887, allocations: 1.859 MB / 0.7137 GB, free: 32.55 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/0.6899, allocations: 207 kB / 0.7139 GB, free: 32.53 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02071/0.7106, allocations: 9.006 MB / 0.7227 GB, free: 28.35 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00159/0.7122, allocations: 176.2 kB / 0.7229 GB, free: 28.31 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002278/0.7124, allocations: 38.72 kB / 0.7229 GB, free: 28.3 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.0006413/0.713, allocations: 252.4 kB / 0.7231 GB, free: 28.1 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003571/0.7134, allocations: 124.4 kB / 0.7232 GB, free: 28.03 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0129/0.7263, allocations: 3.968 MB / 0.7271 GB, free: 26.75 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.599e-05/0.7263, allocations: 14.28 kB / 0.7271 GB, free: 26.75 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.7263, allocations: 0 / 0.7271 GB, free: 26.75 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.692e-05/0.7264, allocations: 4.5 kB / 0.7271 GB, free: 26.75 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01494/0.7413, allocations: 5.556 MB / 0.7326 GB, free: 23.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.559e-05/0.7413, allocations: 15.84 kB / 0.7326 GB, free: 23.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000745/0.7421, allocations: 125 kB / 0.7327 GB, free: 23.37 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005388/0.7474, allocations: 1.74 MB / 0.7344 GB, free: 22.62 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002206/0.7477, allocations: 16.19 kB / 0.7344 GB, free: 22.61 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01627/0.7639, allocations: 7.969 MB / 0.7422 GB, free: 15.72 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.7639, allocations: 0 / 0.7422 GB, free: 15.72 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01341/0.7773, allocations: 4.942 MB / 0.747 GB, free: 10.76 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003822/0.7777, allocations: 138.2 kB / 0.7472 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003366/0.7781, allocations: 20.06 kB / 0.7472 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001111/0.7792, allocations: 107.7 kB / 0.7473 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007024/0.7799, allocations: 224.6 kB / 0.7475 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001095/0.78, allocations: 24 kB / 0.7475 GB, free: 10.27 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007225/0.7807, allocations: 0.6008 MB / 0.7481 GB, free: 9.66 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.7807, allocations: 3.391 kB / 0.7481 GB, free: 9.66 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001446/0.7822, allocations: 434.3 kB / 0.7485 GB, free: 9.25 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.0002857/0.7824, allocations: 130.5 kB / 0.7486 GB, free: 9.113 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006079/0.7885, allocations: 2.364 MB / 0.751 GB, free: 6.738 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.7885, allocations: 0 / 0.751 GB, free: 6.738 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004135/0.7927, allocations: 1.526 MB / 0.7524 GB, free: 5.211 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009384/0.7936, allocations: 80.42 kB / 0.7525 GB, free: 5.133 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003838/0.7974, allocations: 2.032 MB / 0.7545 GB, free: 3.094 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005434/0.798, allocations: 1.092 MB / 0.7556 GB, free: 1.977 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003393/0.7983, allocations: 67.42 kB / 0.7556 GB, free: 1.91 MB / 494.1 MB Notification: Performance of SimCode: time 1.593e-06/0.7983, allocations: 0 / 0.7556 GB, free: 1.91 MB / 494.1 MB Notification: Performance of Templates: time 0.03219/0.8305, allocations: 20.29 MB / 0.7754 GB, free: 13.61 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.740294439019635] Failed to read output from testmodel.py, exit status != 0: 0.840576786082238 0.8631950460000001 0.658857651 Calling exit ...