Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.001429/0.001429, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.526/1.526, allocations: 230.6 MB / 252.7 MB, free: 8.289 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.00224/0.00224, allocations: 218.2 kB / 309.2 MB, free: 3.137 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.4721/0.4721, allocations: 79.73 MB / 445.4 MB, free: 14.84 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: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII",fmuType="me",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.002496/0.002496, allocations: 83.88 kB / 0.593 GB, free: 13.93 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.1704, allocations: 73.28 MB / 0.6645 GB, free: 4.551 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.00926/0.1797, allocations: 6.717 MB / 0.6711 GB, free: 13.8 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.005184/0.1849, allocations: 2.072 MB / 0.6731 GB, free: 11.73 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001385/0.1862, allocations: 8 kB / 0.6731 GB, free: 11.72 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00125/0.1875, allocations: 245.9 kB / 0.6733 GB, free: 11.48 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003402/0.1909, allocations: 0.869 MB / 0.6742 GB, free: 10.61 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00185/0.1927, allocations: 0.6481 MB / 0.6748 GB, free: 9.969 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002945/0.1957, allocations: 1.667 MB / 0.6765 GB, free: 8.297 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006392/0.1963, allocations: 222.9 kB / 0.6767 GB, free: 8.066 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001482/0.1978, allocations: 0.7081 MB / 0.6774 GB, free: 7.355 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001623/0.1994, allocations: 0.8713 MB / 0.6782 GB, free: 6.48 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004937/0.1999, allocations: 132 kB / 0.6783 GB, free: 6.352 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00102/0.201, allocations: 291.8 kB / 0.6786 GB, free: 6.066 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006813/0.2016, allocations: 342.6 kB / 0.6789 GB, free: 5.73 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00132/0.203, allocations: 0.6874 MB / 0.6796 GB, free: 5.039 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003339/0.2063, allocations: 1.735 MB / 0.6813 GB, free: 3.297 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.351e-06/0.2063, allocations: 0 / 0.6813 GB, free: 3.297 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.2063, allocations: 0 / 0.6813 GB, free: 3.297 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.798e-05/0.2064, allocations: 3.938 kB / 0.6813 GB, free: 3.293 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.01213/0.2185, allocations: 2.886 MB / 0.6841 GB, free: 360 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.337e-05/0.2186, allocations: 15.98 kB / 0.6841 GB, free: 344 kB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003321/0.2189, allocations: 122.7 kB / 0.6843 GB, free: 212 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00558/0.2245, allocations: 0.803 MB / 0.685 GB, free: 15.4 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002952/0.2274, allocations: 0.8506 MB / 0.6859 GB, free: 14.51 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000535/0.228, allocations: 341.3 kB / 0.6862 GB, free: 14.12 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003617/0.2283, allocations: 84 kB / 0.6863 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002858/0.2312, allocations: 1.102 MB / 0.6874 GB, free: 12.92 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.463e-05/0.2312, allocations: 7.922 kB / 0.6874 GB, free: 12.91 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001135/0.2313, allocations: 32 kB / 0.6874 GB, free: 12.88 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.72e-05/0.2314, allocations: 20 kB / 0.6874 GB, free: 12.86 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002403/0.2338, allocations: 0.9955 MB / 0.6884 GB, free: 11.86 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.008256/0.242, allocations: 3.817 MB / 0.6921 GB, free: 7.875 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007453/0.2495, allocations: 2.007 MB / 0.6941 GB, free: 5.848 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001506/0.251, allocations: 0.6246 MB / 0.6947 GB, free: 5.219 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001546/0.2511, allocations: 28.97 kB / 0.6947 GB, free: 5.191 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001811/0.253, allocations: 0.8333 MB / 0.6955 GB, free: 4.34 MB / 494.1 MB Notification: Performance of pre-optimization done (n=97): time 3.457e-06/0.253, allocations: 0 / 0.6955 GB, free: 4.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=97): time 0.4465/0.6994, allocations: 7.031 MB / 0.7024 GB, free: 34.44 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.34e-05/0.6995, allocations: 116.3 kB / 0.7025 GB, free: 34.31 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002165/0.7017, allocations: 1.13 MB / 0.7036 GB, free: 34.16 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000319/0.702, allocations: 47 kB / 0.7036 GB, free: 34.13 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005035/0.7025, allocations: 0.4968 MB / 0.7041 GB, free: 34.05 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004486/0.7029, allocations: 382.8 kB / 0.7045 GB, free: 33.93 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006246/0.7035, allocations: 297.1 kB / 0.7048 GB, free: 33.9 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.924e-05/0.7036, allocations: 302.8 kB / 0.7051 GB, free: 33.6 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001878/0.7055, allocations: 0.7796 MB / 0.7058 GB, free: 33.6 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001976/0.7075, allocations: 0.958 MB / 0.7068 GB, free: 33.46 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02827/0.7357, allocations: 6.006 MB / 0.7126 GB, free: 32.59 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.294e-05/0.7357, allocations: 0.9688 kB / 0.7126 GB, free: 32.59 MB / 494.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.0158/0.7515, allocations: 4.44 MB / 0.717 GB, free: 31.41 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.25e-05/0.7516, allocations: 62.66 kB / 0.717 GB, free: 31.34 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.441e-05/0.7516, allocations: 3.656 kB / 0.717 GB, free: 31.34 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006016/0.7577, allocations: 1.635 MB / 0.7186 GB, free: 31.06 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001658/0.7593, allocations: 290.8 kB / 0.7189 GB, free: 31.03 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01997/0.7793, allocations: 8.511 MB / 0.7272 GB, free: 26.05 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002184/0.7815, allocations: 205.1 kB / 0.7274 GB, free: 25.96 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001428/0.7816, allocations: 61.19 kB / 0.7275 GB, free: 25.93 MB / 494.1 MB 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 order2.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 order5.delta:VARIABLE(flow=false start = order5.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order5.e1q:VARIABLE(start = order5.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 (167): * Single equations (assignments): 164 * 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 {(20,14,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006876/0.7823, allocations: 304 kB / 0.7278 GB, free: 25.68 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002398/0.7825, allocations: 132.7 kB / 0.7279 GB, free: 25.61 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01218/0.7947, allocations: 3.878 MB / 0.7317 GB, free: 23.61 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.107e-05/0.7947, allocations: 9.062 kB / 0.7317 GB, free: 23.61 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.76e-05/0.7948, allocations: 7.094 kB / 0.7317 GB, free: 23.61 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.57e-05/0.7948, allocations: 5.203 kB / 0.7317 GB, free: 23.61 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.01368/0.8085, allocations: 5.456 MB / 0.737 GB, free: 20.07 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.237e-06/0.8085, allocations: 0 / 0.737 GB, free: 20.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006383/0.8091, allocations: 107.3 kB / 0.7371 GB, free: 19.97 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004971/0.8141, allocations: 1.583 MB / 0.7387 GB, free: 18.39 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001662/0.8143, allocations: 28.55 kB / 0.7387 GB, free: 18.36 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0187/0.833, allocations: 9.462 MB / 0.7479 GB, free: 8.691 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.833, allocations: 0 / 0.7479 GB, free: 8.691 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01404/0.847, allocations: 4.763 MB / 0.7526 GB, free: 3.902 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005758/0.8476, allocations: 158.6 kB / 0.7527 GB, free: 3.766 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004578/0.848, allocations: 23.94 kB / 0.7528 GB, free: 3.742 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001499/0.8495, allocations: 111.8 kB / 0.7529 GB, free: 3.633 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006369/0.8502, allocations: 200.6 kB / 0.7531 GB, free: 3.438 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001252/0.8503, allocations: 31.98 kB / 0.7531 GB, free: 3.406 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00123/0.8515, allocations: 0.7514 MB / 0.7538 GB, free: 2.648 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.8515, allocations: 0 / 0.7538 GB, free: 2.648 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00188/0.8534, allocations: 0.4917 MB / 0.7543 GB, free: 2.168 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,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 (65): * Single equations (assignments): 62 * 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 {(18,14,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0157/0.8691, allocations: 5.334 MB / 0.7595 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008033/0.8771, allocations: 2.464 MB / 0.7619 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.8771, allocations: 0 / 0.7619 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004761/0.8819, allocations: 1.53 MB / 0.7634 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001621/0.8835, allocations: 116.7 kB / 0.7635 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04603/0.9296, allocations: 16.54 MB / 0.7797 GB, free: 7.922 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001057/0.9306, allocations: 1.128 MB / 0.7808 GB, free: 6.762 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0006203/0.9312, allocations: 126.8 kB / 0.7809 GB, free: 6.637 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008863/0.9321, allocations: 475.3 kB / 0.7814 GB, free: 6.172 MB / 0.5137 GB Notification: Performance of SimCode: time 7.21e-07/0.9321, allocations: 0 / 0.7814 GB, free: 6.172 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09739/1.03, allocations: 36.53 MB / 0.817 GB, free: 1.82 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.41/17.44, allocations: 3.266 kB / 0.817 GB, free: 1.82 MB / 0.545 GB " [Timeout remaining time 642] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.144619019003585] Failed to read output from testmodel.py, exit status != 0: 17.576177534181625 17.598997204 17.388260848 Calling exit ...