Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_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.001891/0.001891, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.447/1.447, allocations: 230.6 MB / 250.5 MB, free: 9.199 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.0016/0.0016, allocations: 224.9 kB / 306.7 MB, free: 4.266 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.5669/0.5669, allocations: 101.3 MB / 464 MB, free: 11.88 MB / 334.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.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_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.002618/0.002618, allocations: 85.59 kB / 0.6201 GB, free: 15.39 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.1554, allocations: 78.56 MB / 0.6968 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII): time 0.3269/0.4823, allocations: 22.03 MB / 0.7183 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01349/0.4958, allocations: 4.933 MB / 0.7231 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005625/0.5014, allocations: 47.47 kB / 0.7232 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00354/0.505, allocations: 0.8921 MB / 0.7241 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.009428/0.5144, allocations: 2.315 MB / 0.7263 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007068/0.5215, allocations: 2.062 MB / 0.7283 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0114/0.5329, allocations: 5.775 MB / 0.734 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003386/0.5363, allocations: 0.9171 MB / 0.7349 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005355/0.5416, allocations: 2.409 MB / 0.7372 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005966/0.5476, allocations: 2.99 MB / 0.7401 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.002319/0.5499, allocations: 443.6 kB / 0.7406 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003298/0.5532, allocations: 0.6089 MB / 0.7412 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.002867/0.5561, allocations: 1.168 MB / 0.7423 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.006086/0.5622, allocations: 2.63 MB / 0.7449 GB, free: 9.684 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01174/0.5739, allocations: 6.306 MB / 0.751 GB, free: 4.961 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/0.5739, allocations: 5.031 kB / 0.751 GB, free: 4.957 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5739, allocations: 0 / 0.751 GB, free: 4.957 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0003175/0.5742, allocations: 0 / 0.751 GB, free: 4.957 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.03559/0.6098, allocations: 9.414 MB / 0.7602 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.398e-05/0.6099, allocations: 8.969 kB / 0.7602 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001388/0.61, allocations: 86.59 kB / 0.7603 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000955/0.611, allocations: 495.5 kB / 0.7608 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02861/0.6396, allocations: 4.051 MB / 0.7647 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007276/0.6468, allocations: 2.709 MB / 0.7674 GB, free: 9.629 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00131/0.6482, allocations: 0.9545 MB / 0.7683 GB, free: 8.539 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001347/0.6495, allocations: 352 kB / 0.7687 GB, free: 8.195 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01203/0.6615, allocations: 4.747 MB / 0.7733 GB, free: 3.418 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.058e-05/0.6616, allocations: 0 / 0.7733 GB, free: 3.418 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005379/0.6621, allocations: 142.5 kB / 0.7734 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.936e-05/0.6622, allocations: 84 kB / 0.7735 GB, free: 3.199 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01177/0.674, allocations: 4.256 MB / 0.7777 GB, free: 14.94 MB / 0.545 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.04039/0.7144, allocations: 18.3 MB / 0.7955 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01426/0.7286, allocations: 4.657 MB / 0.8001 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006822/0.7355, allocations: 2.486 MB / 0.8025 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006501/0.7361, allocations: 78.91 kB / 0.8026 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007741/0.7438, allocations: 3.189 MB / 0.8057 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=384): time 6.602e-06/0.7439, allocations: 0 / 0.8057 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of matching and sorting (n=384): time 0.3193/1.063, allocations: 67.65 MB / 0.8718 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000122/1.063, allocations: 141.8 kB / 0.8719 GB, free: 12.9 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006912/1.07, allocations: 3.258 MB / 0.8751 GB, free: 9.625 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0009768/1.071, allocations: 93.7 kB / 0.8752 GB, free: 9.527 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001889/1.073, allocations: 2.005 MB / 0.8771 GB, free: 7.512 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.002438/1.075, allocations: 1.379 MB / 0.8785 GB, free: 6.121 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002667/1.078, allocations: 0.6823 MB / 0.8791 GB, free: 5.426 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001384/1.078, allocations: 305.1 kB / 0.8794 GB, free: 5.125 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006109/1.084, allocations: 2.605 MB / 0.882 GB, free: 2.512 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006954/1.091, allocations: 3.233 MB / 0.8851 GB, free: 15.06 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07656/1.168, allocations: 19.21 MB / 0.9039 GB, free: 11.57 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.238e-05/1.168, allocations: 4 kB / 0.9039 GB, free: 11.57 MB / 0.67 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.06104/1.229, allocations: 17.2 MB / 0.9207 GB, free: 10.32 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 8.728e-05/1.229, allocations: 63.41 kB / 0.9208 GB, free: 10.25 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.397e-05/1.229, allocations: 12 kB / 0.9208 GB, free: 10.24 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02802/1.257, allocations: 7.158 MB / 0.9278 GB, free: 3.074 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004062/1.261, allocations: 0.6904 MB / 0.9284 GB, free: 2.383 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09379/1.355, allocations: 33.35 MB / 0.961 GB, free: 0.8477 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006827/1.362, allocations: 0.626 MB / 0.9616 GB, free: 220 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007991/1.363, allocations: 152 kB / 0.9618 GB, free: 68 kB / 0.7169 GB Warning: Assuming fixed start value for the following 5 variables: order5.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 order5.delta:VARIABLE(flow=false start = order5.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 (407): * Single equations (assignments): 404 * 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.002208/1.365, allocations: 0.6864 MB / 0.9624 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001515/1.366, allocations: 476.9 kB / 0.9629 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3419/1.708, allocations: 16.74 MB / 0.9792 GB, free: 212.6 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.473e-05/1.708, allocations: 40.45 kB / 0.9793 GB, free: 212.6 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.946e-05/1.708, allocations: 28.38 kB / 0.9793 GB, free: 212.6 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001035/1.708, allocations: 16.08 kB / 0.9793 GB, free: 212.6 MB / 0.7325 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.068/1.776, allocations: 21.75 MB / 1.001 GB, free: 211.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-05/1.776, allocations: 3.938 kB / 1.001 GB, free: 211.7 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002563/1.779, allocations: 395.4 kB / 1.001 GB, free: 211.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02601/1.805, allocations: 7.372 MB / 1.008 GB, free: 211.2 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001056/1.806, allocations: 74.69 kB / 1.008 GB, free: 211.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07444/1.881, allocations: 31.83 MB / 1.039 GB, free: 197.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/1.881, allocations: 1.688 kB / 1.039 GB, free: 197.1 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05731/1.938, allocations: 20.15 MB / 1.059 GB, free: 177.4 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001727/1.94, allocations: 0.5832 MB / 1.06 GB, free: 176.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001794/1.941, allocations: 60 kB / 1.06 GB, free: 176.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005523/1.947, allocations: 383.5 kB / 1.06 GB, free: 176.4 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003363/1.95, allocations: 0.7877 MB / 1.061 GB, free: 175.6 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005386/1.951, allocations: 94.3 kB / 1.061 GB, free: 175.5 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002988/1.954, allocations: 2.141 MB / 1.063 GB, free: 173.4 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/1.954, allocations: 0 / 1.063 GB, free: 173.4 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.006298/1.96, allocations: 1.811 MB / 1.065 GB, free: 171.6 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order3.delta,order3.w,order3.e1q,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,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 (248): * Single equations (assignments): 245 * 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 {(100,36,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.05629/2.016, allocations: 20.82 MB / 1.085 GB, free: 150.9 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.024/2.04, allocations: 8.799 MB / 1.094 GB, free: 142.1 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.012e-06/2.04, allocations: 0 / 1.094 GB, free: 142.1 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.01814/2.058, allocations: 5.921 MB / 1.099 GB, free: 136.2 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003561/2.062, allocations: 383.8 kB / 1.1 GB, free: 135.8 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1395/2.202, allocations: 59 MB / 1.157 GB, free: 76.45 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001525/2.203, allocations: 2.451 MB / 1.16 GB, free: 73.96 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001411/2.204, allocations: 371.1 kB / 1.16 GB, free: 73.6 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001932/2.206, allocations: 2.026 MB / 1.162 GB, free: 71.57 MB / 0.7325 GB Notification: Performance of SimCode: time 8.51e-07/2.206, allocations: 4 kB / 1.162 GB, free: 71.57 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4677/2.674, allocations: 128.2 MB / 1.287 GB, free: 256.6 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.86/25.53, allocations: 10.72 kB / 1.287 GB, free: 256.6 MB / 0.7637 GB " [Timeout remaining time 634] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 30.567566481011454] Failed to read output from testmodel.py, exit status != 0: 25.74995118903462 25.761943563 25.1854151 Calling exit ...