Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.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.001653/0.001653, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.466/1.466, allocations: 230.6 MB / 253.4 MB, free: 14.52 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.001506/0.001506, allocations: 221.4 kB / 310 MB, free: 3.117 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.601/0.601, allocations: 101.3 MB / 467.8 MB, free: 30.44 MB / 350.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/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: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRII",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRII",fmuType="cs",version="2.0",platforms={"static"}) [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.002355/0.002355, allocations: 88.47 kB / 0.6253 GB, free: 32.9 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1412, allocations: 78.61 MB / 0.7021 GB, free: 0.8398 MB / 478.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII): time 0.022/0.1632, allocations: 21.96 MB / 0.7235 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01155/0.1747, allocations: 4.931 MB / 0.7283 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003553/0.1783, allocations: 44 kB / 0.7284 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002371/0.1806, allocations: 0.8828 MB / 0.7292 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006841/0.1875, allocations: 2.309 MB / 0.7315 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005401/0.1929, allocations: 2.057 MB / 0.7335 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00858/0.2015, allocations: 5.751 MB / 0.7391 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002052/0.2035, allocations: 0.9157 MB / 0.74 GB, free: 9.82 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003862/0.2074, allocations: 2.392 MB / 0.7423 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004614/0.212, allocations: 2.955 MB / 0.7452 GB, free: 4.449 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001378/0.2134, allocations: 440 kB / 0.7456 GB, free: 4.02 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002002/0.2154, allocations: 0.5975 MB / 0.7462 GB, free: 3.422 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001709/0.2171, allocations: 1.151 MB / 0.7473 GB, free: 2.266 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.004521/0.2216, allocations: 2.61 MB / 0.7499 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.009016/0.2306, allocations: 6.27 MB / 0.756 GB, free: 9.34 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.2306, allocations: 0 / 0.756 GB, free: 9.34 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2306, allocations: 0 / 0.756 GB, free: 9.34 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001681/0.2308, allocations: 0 / 0.756 GB, free: 9.34 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 893 * Number of variables: 893 Notification: Performance of Generate backend data structure: time 0.03313/0.2639, allocations: 9.892 MB / 0.7657 GB, free: 15.35 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/0.264, allocations: 16.02 kB / 0.7657 GB, free: 15.34 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001025/0.2641, allocations: 90.52 kB / 0.7658 GB, free: 15.25 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007539/0.2648, allocations: 488.8 kB / 0.7662 GB, free: 14.76 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02908/0.2939, allocations: 4.051 MB / 0.7702 GB, free: 10.7 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005843/0.2998, allocations: 2.559 MB / 0.7727 GB, free: 8.055 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001096/0.3009, allocations: 1.036 MB / 0.7737 GB, free: 6.863 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009438/0.3018, allocations: 355.9 kB / 0.774 GB, free: 6.516 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01054/0.3123, allocations: 4.731 MB / 0.7787 GB, free: 1.754 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.368e-05/0.3124, allocations: 0 / 0.7787 GB, free: 1.754 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004127/0.3128, allocations: 144 kB / 0.7788 GB, free: 1.613 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.744e-05/0.3129, allocations: 88 kB / 0.7789 GB, free: 1.527 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0113/0.3242, allocations: 4.24 MB / 0.783 GB, free: 13.28 MB / 0.5606 GB 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.04086/0.365, allocations: 18.07 MB / 0.8007 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01395/0.379, allocations: 4.343 MB / 0.8049 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006642/0.3856, allocations: 2.47 MB / 0.8073 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006132/0.3862, allocations: 70.89 kB / 0.8074 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2993/0.6855, allocations: 3.173 MB / 0.8105 GB, free: 91.95 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=383): time 1.145e-05/0.6855, allocations: 0 / 0.8105 GB, free: 91.95 MB / 0.5762 GB Notification: Performance of matching and sorting (n=383): time 0.2995/0.985, allocations: 67.77 MB / 0.8767 GB, free: 50.68 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.226e-05/0.9851, allocations: 149.7 kB / 0.8768 GB, free: 50.5 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003426/0.9885, allocations: 3.22 MB / 0.88 GB, free: 47.3 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0008038/0.9893, allocations: 85.7 kB / 0.8801 GB, free: 47.21 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009404/0.9903, allocations: 2.005 MB / 0.882 GB, free: 45.57 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.00125/0.9915, allocations: 1.376 MB / 0.8834 GB, free: 44.41 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001218/0.9927, allocations: 0.6784 MB / 0.884 GB, free: 43.71 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.394e-05/0.9928, allocations: 301.1 kB / 0.8843 GB, free: 43.42 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004853/0.9976, allocations: 2.585 MB / 0.8868 GB, free: 40.82 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005069/1.003, allocations: 3.206 MB / 0.89 GB, free: 37.39 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06602/1.069, allocations: 19 MB / 0.9085 GB, free: 18.14 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.35e-05/1.069, allocations: 4 kB / 0.9085 GB, free: 18.14 MB / 0.5762 GB Notification: Performance of matching and sorting (n=538) (initialization): time 0.05383/1.123, allocations: 17.15 MB / 0.9253 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.989e-05/1.123, allocations: 67.41 kB / 0.9253 GB, free: 0.8633 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.727e-05/1.123, allocations: 12 kB / 0.9253 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02802/1.151, allocations: 7.154 MB / 0.9323 GB, free: 9.695 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003716/1.154, allocations: 0.6709 MB / 0.933 GB, free: 9.023 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1011/1.255, allocations: 33.23 MB / 0.9654 GB, free: 7.676 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005982/1.261, allocations: 0.6266 MB / 0.966 GB, free: 7.129 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008757/1.262, allocations: 156 kB / 0.9662 GB, free: 6.977 MB / 0.6231 GB Warning: Assuming fixed start value for the following 5 variables: order4.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real order4.delta:VARIABLE(flow=false start = order4.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (403): * Single equations (assignments): 400 * 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 {(92,44,5.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002588/1.265, allocations: 0.6662 MB / 0.9668 GB, free: 6.309 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001486/1.266, allocations: 484.8 kB / 0.9673 GB, free: 5.832 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06216/1.329, allocations: 16.71 MB / 0.9836 GB, free: 5.055 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.651e-05/1.329, allocations: 43.94 kB / 0.9837 GB, free: 5.012 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-05/1.329, allocations: 31.94 kB / 0.9837 GB, free: 4.984 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.782e-05/1.329, allocations: 23.86 kB / 0.9837 GB, free: 4.965 MB / 0.6387 GB 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.07311/1.402, allocations: 21.68 MB / 1.005 GB, free: 15.27 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.727e-05/1.402, allocations: 0 / 1.005 GB, free: 15.27 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002535/1.404, allocations: 387.5 kB / 1.005 GB, free: 14.89 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02932/1.434, allocations: 7.348 MB / 1.012 GB, free: 7.523 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009465/1.435, allocations: 75.92 kB / 1.013 GB, free: 7.449 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09354/1.528, allocations: 31.64 MB / 1.043 GB, free: 7.594 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/1.528, allocations: 0 / 1.043 GB, free: 7.594 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07056/1.599, allocations: 20.1 MB / 1.063 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001702/1.6, allocations: 0.5096 MB / 1.064 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001503/1.602, allocations: 63.94 kB / 1.064 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005013/1.607, allocations: 382.3 kB / 1.064 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003417/1.61, allocations: 0.8114 MB / 1.065 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006115/1.611, allocations: 99.97 kB / 1.065 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.004101/1.615, allocations: 2.101 MB / 1.067 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/1.615, allocations: 4 kB / 1.067 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.006273/1.621, allocations: 1.806 MB / 1.069 GB, free: 13.75 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order3.delta,order3.w,order3.e1q,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 (247): * Single equations (assignments): 244 * 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 {(98,38,5.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.07172/1.693, allocations: 20.78 MB / 1.089 GB, free: 8.879 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.3212/2.014, allocations: 8.76 MB / 1.098 GB, free: 256.4 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 8.296e-06/2.014, allocations: 1.281 kB / 1.098 GB, free: 256.4 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.02016/2.035, allocations: 5.862 MB / 1.103 GB, free: 255.8 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002757/2.037, allocations: 387.1 kB / 1.104 GB, free: 255.8 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1462/2.183, allocations: 58.67 MB / 1.161 GB, free: 225.5 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001529/2.185, allocations: 2.443 MB / 1.163 GB, free: 223 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001406/2.186, allocations: 379.1 kB / 1.164 GB, free: 222.7 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001959/2.188, allocations: 1.979 MB / 1.166 GB, free: 220.7 MB / 0.7481 GB Notification: Performance of SimCode: time 1.653e-06/2.188, allocations: 0 / 1.166 GB, free: 220.7 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1745/2.363, allocations: 130.7 MB / 1.293 GB, free: 90.22 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.51/25.87, allocations: 11.92 kB / 1.293 GB, free: 90.21 MB / 0.7481 GB " [Timeout remaining time 634] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRII_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 30.713392275967635] Failed to read output from testmodel.py, exit status != 0: 26.149178188992664 26.16936859 25.934993298 Calling exit ...