Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.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.001366/0.001366, allocations: 102.1 kB / 19.7 MB, free: 2.246 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.523/1.523, allocations: 230.6 MB / 253.4 MB, free: 14.48 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.001544/0.001544, allocations: 206.3 kB / 310 MB, free: 3.09 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.5369/0.5369, allocations: 79.73 MB / 446.2 MB, free: 38.94 MB / 350.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.Controls.PSAT.AVR.AVRTypeII_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test") translateModel(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test") [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.00254/0.00254, allocations: 89.56 kB / 0.5941 GB, free: 38.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1406, allocations: 73.3 MB / 0.6657 GB, free: 352 kB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.008544/0.1491, allocations: 6.699 MB / 0.6723 GB, free: 10.92 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005683/0.1548, allocations: 2.09 MB / 0.6743 GB, free: 8.82 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001928/0.1567, allocations: 15.94 kB / 0.6743 GB, free: 8.805 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001073/0.1578, allocations: 237.9 kB / 0.6746 GB, free: 8.57 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002972/0.1608, allocations: 0.8312 MB / 0.6754 GB, free: 7.734 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001718/0.1625, allocations: 0.6794 MB / 0.676 GB, free: 7.062 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00234/0.1648, allocations: 1.67 MB / 0.6777 GB, free: 5.387 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004602/0.1653, allocations: 237.2 kB / 0.6779 GB, free: 5.141 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001095/0.1664, allocations: 0.6886 MB / 0.6786 GB, free: 4.449 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001036/0.1674, allocations: 0.8323 MB / 0.6794 GB, free: 3.613 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001968/0.1676, allocations: 124 kB / 0.6795 GB, free: 3.492 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006177/0.1682, allocations: 287.9 kB / 0.6798 GB, free: 3.211 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003259/0.1686, allocations: 322.7 kB / 0.6801 GB, free: 2.895 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006295/0.1692, allocations: 0.6796 MB / 0.6807 GB, free: 2.211 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002278/0.1715, allocations: 1.719 MB / 0.6824 GB, free: 496 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.1715, allocations: 4 kB / 0.6824 GB, free: 492 kB / 462.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1715, allocations: 0 / 0.6824 GB, free: 492 kB / 462.1 MB Notification: Performance of Transformations before backend: time 2.185e-05/0.1715, allocations: 0 / 0.6824 GB, free: 492 kB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.01045/0.1819, allocations: 2.898 MB / 0.6853 GB, free: 13.52 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/0.182, allocations: 8.031 kB / 0.6853 GB, free: 13.51 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005411/0.1874, allocations: 0.8069 MB / 0.686 GB, free: 12.7 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002183/0.1896, allocations: 0.8343 MB / 0.6869 GB, free: 11.82 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003694/0.19, allocations: 277.8 kB / 0.6871 GB, free: 11.51 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002039/0.1902, allocations: 84 kB / 0.6872 GB, free: 11.43 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002658/0.1928, allocations: 1.176 MB / 0.6884 GB, free: 10.24 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/0.1928, allocations: 0 / 0.6884 GB, free: 10.24 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/0.1929, allocations: 32 kB / 0.6884 GB, free: 10.21 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.053e-05/0.193, allocations: 20 kB / 0.6884 GB, free: 10.19 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002573/0.1955, allocations: 1.081 MB / 0.6895 GB, free: 9.105 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.007529/0.2031, allocations: 3.611 MB / 0.693 GB, free: 5.375 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002643/0.2057, allocations: 1.02 MB / 0.694 GB, free: 4.344 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001605/0.2073, allocations: 0.7072 MB / 0.6947 GB, free: 3.629 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001213/0.2074, allocations: 24.98 kB / 0.6947 GB, free: 3.605 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001909/0.2093, allocations: 0.8879 MB / 0.6956 GB, free: 2.699 MB / 478.1 MB Notification: Performance of pre-optimization done (n=102): time 2.855e-06/0.2093, allocations: 0 / 0.6956 GB, free: 2.699 MB / 478.1 MB Notification: Performance of matching and sorting (n=102): time 0.02861/0.2379, allocations: 6.77 MB / 0.7022 GB, free: 11.9 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/0.2381, allocations: 119.8 kB / 0.7023 GB, free: 11.76 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001836/0.2399, allocations: 1.035 MB / 0.7033 GB, free: 10.71 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002913/0.2402, allocations: 45.69 kB / 0.7033 GB, free: 10.66 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004926/0.2407, allocations: 0.5053 MB / 0.7038 GB, free: 10.14 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004846/0.2412, allocations: 392.7 kB / 0.7042 GB, free: 9.758 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000508/0.2417, allocations: 243.5 kB / 0.7044 GB, free: 9.516 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000226/0.2419, allocations: 361.9 kB / 0.7048 GB, free: 9.156 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00178/0.2437, allocations: 0.7613 MB / 0.7055 GB, free: 8.395 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001871/0.2455, allocations: 0.9116 MB / 0.7064 GB, free: 7.449 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02342/0.269, allocations: 5.527 MB / 0.7118 GB, free: 1.848 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.005e-05/0.269, allocations: 0 / 0.7118 GB, free: 1.848 MB / 494.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.0152/0.2842, allocations: 4.483 MB / 0.7162 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001111/0.2843, allocations: 59.41 kB / 0.7163 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.979e-05/0.2843, allocations: 4 kB / 0.7163 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007228/0.2915, allocations: 1.858 MB / 0.7181 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001518/0.293, allocations: 251.7 kB / 0.7183 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02425/0.3173, allocations: 9.369 MB / 0.7275 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002064/0.3194, allocations: 199 kB / 0.7277 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001772/0.3195, allocations: 47.98 kB / 0.7277 GB, free: 1.426 MB / 0.4981 GB Warning: Assuming fixed start value for the following 2 variables: order6Type2_Inputs_Outputs.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order6Type2_Inputs_Outputs.delta:VARIABLE(flow=false start = order6Type2_Inputs_Outputs.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: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (139): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 2 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0006581/0.3202, allocations: 296.8 kB / 0.728 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002768/0.3205, allocations: 131.2 kB / 0.7281 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01451/0.335, allocations: 4.146 MB / 0.7322 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.558e-05/0.335, allocations: 12 kB / 0.7322 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.335, allocations: 4 kB / 0.7322 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.04e-05/0.335, allocations: 7.922 kB / 0.7322 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01918/0.3542, allocations: 5.909 MB / 0.7379 GB, free: 6.754 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.198e-05/0.3543, allocations: 4.031 kB / 0.738 GB, free: 6.75 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001161/0.3554, allocations: 103.8 kB / 0.7381 GB, free: 6.648 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009405/0.3648, allocations: 1.828 MB / 0.7398 GB, free: 4.812 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000341/0.3652, allocations: 23.94 kB / 0.7399 GB, free: 4.789 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03312/0.3983, allocations: 10.11 MB / 0.7497 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.636e-06/0.3983, allocations: 11.88 kB / 0.7497 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02554/0.4238, allocations: 5.094 MB / 0.7547 GB, free: 5.297 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007617/0.4246, allocations: 150.9 kB / 0.7549 GB, free: 5.148 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004331/0.425, allocations: 31.92 kB / 0.7549 GB, free: 5.117 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001983/0.427, allocations: 107.9 kB / 0.755 GB, free: 5.012 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001065/0.4281, allocations: 228.6 kB / 0.7552 GB, free: 4.789 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001519/0.4282, allocations: 27.98 kB / 0.7552 GB, free: 4.762 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001895/0.4301, allocations: 0.7032 MB / 0.7559 GB, free: 4.051 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.01e-07/0.4301, allocations: 0 / 0.7559 GB, free: 4.051 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002626/0.4327, allocations: 479.7 kB / 0.7564 GB, free: 3.582 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order6Type2_Inputs_Outputs.delta,order6Type2_Inputs_Outputs.w,order6Type2_Inputs_Outputs.e1q,order6Type2_Inputs_Outputs.e1d,order6Type2_Inputs_Outputs.e2q,order6Type2_Inputs_Outputs.e2d,aVRI.ExcitationSystem.x_scaled[1],aVRI.derivativeBlock.x,aVRI.firstOrder2.y,aVRI.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(26,10), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004903/0.4332, allocations: 155.5 kB / 0.7565 GB, free: 3.422 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01188/0.4451, allocations: 2.557 MB / 0.759 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.908e-06/0.4451, allocations: 0 / 0.759 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.008274/0.4534, allocations: 1.724 MB / 0.7607 GB, free: 15.06 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00165/0.455, allocations: 118.2 kB / 0.7608 GB, free: 14.95 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007933/0.463, allocations: 2.445 MB / 0.7632 GB, free: 12.46 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00126/0.4642, allocations: 1.135 MB / 0.7643 GB, free: 11.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007337/0.465, allocations: 75.42 kB / 0.7644 GB, free: 11.22 MB / 0.545 GB Notification: Performance of SimCode: time 1.513e-06/0.465, allocations: 0 / 0.7644 GB, free: 11.22 MB / 0.545 GB Notification: Performance of Templates: time 0.05555/0.5205, allocations: 24.46 MB / 0.7883 GB, free: 2.754 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.124083020025864] Failed to read output from testmodel.py, exit status != 0: 0.5311973909847438 0.556714107 0.38029099999999993 Calling exit ...