Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.conf.json 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.001659/0.001659, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 225.6 MB / 247.7 MB, free: 13.25 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.00161/0.00161, allocations: 197 kB / 303.1 MB, free: 8.664 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.5056/0.5056, allocations: 79.71 MB / 438.1 MB, free: 5.227 MB / 302.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous") translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.004414/0.004414, allocations: 83.88 kB / 0.584 GB, free: 8.008 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1884/0.1928, allocations: 72.12 MB / 0.6544 GB, free: 15.79 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous): time 0.01072/0.2036, allocations: 6.614 MB / 0.6609 GB, free: 9.133 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.006561/0.2101, allocations: 1.982 MB / 0.6628 GB, free: 7.148 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001484/0.2116, allocations: 19.88 kB / 0.6628 GB, free: 7.129 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001154/0.2128, allocations: 238 kB / 0.663 GB, free: 6.895 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002887/0.2156, allocations: 0.8708 MB / 0.6639 GB, free: 6.023 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation order4.xq <> order4.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001618/0.2173, allocations: 0.6355 MB / 0.6645 GB, free: 5.395 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002416/0.2197, allocations: 1.616 MB / 0.6661 GB, free: 3.773 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004769/0.2201, allocations: 226.9 kB / 0.6663 GB, free: 3.535 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001119/0.2213, allocations: 0.6808 MB / 0.667 GB, free: 2.852 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001058/0.2223, allocations: 0.8401 MB / 0.6678 GB, free: 2.008 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000203/0.2225, allocations: 120 kB / 0.6679 GB, free: 1.891 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006212/0.2231, allocations: 259.9 kB / 0.6682 GB, free: 1.637 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003557/0.2235, allocations: 334.6 kB / 0.6685 GB, free: 1.309 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006869/0.2242, allocations: 0.668 MB / 0.6691 GB, free: 0.6367 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002179/0.2264, allocations: 1.665 MB / 0.6708 GB, free: 14.96 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.2264, allocations: 4 kB / 0.6708 GB, free: 14.96 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.2264, allocations: 4 kB / 0.6708 GB, free: 14.96 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.604e-05/0.2264, allocations: 3.938 kB / 0.6708 GB, free: 14.95 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.009921/0.2363, allocations: 2.785 MB / 0.6735 GB, free: 12.11 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.2364, allocations: 16.03 kB / 0.6735 GB, free: 12.1 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005309/0.2417, allocations: 0.7834 MB / 0.6743 GB, free: 11.31 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001864/0.2435, allocations: 0.8306 MB / 0.6751 GB, free: 10.44 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003491/0.2439, allocations: 264.2 kB / 0.6753 GB, free: 10.14 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001794/0.2441, allocations: 84 kB / 0.6754 GB, free: 10.06 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002448/0.2465, allocations: 1.09 MB / 0.6765 GB, free: 8.957 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/0.2465, allocations: 0 / 0.6765 GB, free: 8.957 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/0.2466, allocations: 32 kB / 0.6765 GB, free: 8.926 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.096e-05/0.2467, allocations: 20 kB / 0.6765 GB, free: 8.906 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002239/0.2489, allocations: 0.9838 MB / 0.6775 GB, free: 7.922 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.007551/0.2564, allocations: 3.755 MB / 0.6812 GB, free: 4 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007993/0.2644, allocations: 1.996 MB / 0.6831 GB, free: 1.98 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00167/0.2661, allocations: 0.6137 MB / 0.6837 GB, free: 1.363 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.857e-05/0.2662, allocations: 20.98 kB / 0.6837 GB, free: 1.344 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001852/0.2681, allocations: 0.8278 MB / 0.6845 GB, free: 0.4961 MB / 478.1 MB Notification: Performance of pre-optimization done (n=96): time 2.895e-06/0.2681, allocations: 4 kB / 0.6845 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of matching and sorting (n=96): time 0.03047/0.2985, allocations: 6.897 MB / 0.6913 GB, free: 9.57 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.2986, allocations: 115.8 kB / 0.6914 GB, free: 9.434 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001896/0.3005, allocations: 1.083 MB / 0.6924 GB, free: 8.336 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002949/0.3008, allocations: 49.69 kB / 0.6925 GB, free: 8.281 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004579/0.3013, allocations: 0.5015 MB / 0.693 GB, free: 7.773 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004887/0.3018, allocations: 368.9 kB / 0.6933 GB, free: 7.41 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005455/0.3023, allocations: 287.5 kB / 0.6936 GB, free: 7.125 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.3025, allocations: 305.1 kB / 0.6939 GB, free: 6.824 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001706/0.3042, allocations: 0.7652 MB / 0.6946 GB, free: 6.059 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001904/0.3061, allocations: 0.9382 MB / 0.6956 GB, free: 5.078 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3864/0.6925, allocations: 5.557 MB / 0.701 GB, free: 42.47 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.266e-05/0.6925, allocations: 2.062 kB / 0.701 GB, free: 42.47 MB / 494.1 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.01571/0.7082, allocations: 4.324 MB / 0.7052 GB, free: 42.3 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.129e-05/0.7083, allocations: 64.42 kB / 0.7053 GB, free: 42.24 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.071e-05/0.7083, allocations: 3.359 kB / 0.7053 GB, free: 42.24 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006648/0.7149, allocations: 1.499 MB / 0.7067 GB, free: 42.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001855/0.7168, allocations: 299.3 kB / 0.707 GB, free: 42.17 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02123/0.738, allocations: 8.188 MB / 0.715 GB, free: 38.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001957/0.74, allocations: 206.6 kB / 0.7152 GB, free: 38.47 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001389/0.7401, allocations: 56.22 kB / 0.7153 GB, free: 38.46 MB / 494.1 MB Warning: Assuming fixed start value for the following 4 variables: order4.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order4.delta:VARIABLE(flow=false start = order4.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order4.e1q:VARIABLE(start = order4.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: 13 * 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 (166): * Single equations (assignments): 163 * 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): 1 system {(18,13,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006201/0.7407, allocations: 299.3 kB / 0.7155 GB, free: 38.21 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002039/0.7409, allocations: 129.7 kB / 0.7157 GB, free: 38.14 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0135/0.7544, allocations: 3.846 MB / 0.7194 GB, free: 37.23 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.696e-05/0.7545, allocations: 16.39 kB / 0.7194 GB, free: 37.22 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.968e-05/0.7545, allocations: 10.97 kB / 0.7195 GB, free: 37.22 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-05/0.7545, allocations: 7.406 kB / 0.7195 GB, free: 37.22 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 postOpt removeSimpleEquations (simulation): time 0.01507/0.7696, allocations: 5.397 MB / 0.7247 GB, free: 34.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.086e-05/0.7696, allocations: 3.938 kB / 0.7247 GB, free: 34.92 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006305/0.7702, allocations: 99.64 kB / 0.7248 GB, free: 34.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005793/0.776, allocations: 1.603 MB / 0.7264 GB, free: 34.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001735/0.7762, allocations: 23.44 kB / 0.7264 GB, free: 34.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01872/0.7949, allocations: 9.416 MB / 0.7356 GB, free: 27.76 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.7949, allocations: 7.938 kB / 0.7356 GB, free: 27.75 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0135/0.8084, allocations: 4.711 MB / 0.7402 GB, free: 23.46 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000484/0.8089, allocations: 154.2 kB / 0.7404 GB, free: 23.33 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001877/0.8091, allocations: 27.88 kB / 0.7404 GB, free: 23.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001124/0.8102, allocations: 103.9 kB / 0.7405 GB, free: 23.2 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005625/0.8108, allocations: 208.6 kB / 0.7407 GB, free: 23 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-05/0.8108, allocations: 23.98 kB / 0.7407 GB, free: 22.98 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009214/0.8117, allocations: 0.7274 MB / 0.7414 GB, free: 22.24 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.8117, allocations: 0 / 0.7414 GB, free: 22.24 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001458/0.8132, allocations: 474.6 kB / 0.7419 GB, free: 21.79 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.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): 1 system {(21,11,21.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002648/0.8135, allocations: 148.1 kB / 0.742 GB, free: 21.64 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005849/0.8193, allocations: 2.371 MB / 0.7443 GB, free: 19.24 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.8193, allocations: 0 / 0.7443 GB, free: 19.24 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004044/0.8234, allocations: 1.547 MB / 0.7458 GB, free: 17.65 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00106/0.8244, allocations: 109.3 kB / 0.746 GB, free: 17.54 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003547/0.828, allocations: 2.303 MB / 0.7482 GB, free: 15.25 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004349/0.8284, allocations: 1.124 MB / 0.7493 GB, free: 14.1 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003884/0.8288, allocations: 116.1 kB / 0.7494 GB, free: 13.98 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002403/0.829, allocations: 75.42 kB / 0.7495 GB, free: 13.91 MB / 494.1 MB Notification: Performance of SimCode: time 8.22e-07/0.829, allocations: 0 / 0.7495 GB, free: 13.91 MB / 494.1 MB Notification: Performance of Templates: time 0.03545/0.8645, allocations: 24.85 MB / 0.7737 GB, free: 5.117 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.03162607550621] Failed to read output from testmodel.py, exit status != 0: 0.875849992968142 0.888872729 0.6591154189999999 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f358c6d97b0>