Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_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.001356/0.001356, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.585/1.585, allocations: 230.6 MB / 252.7 MB, free: 14.27 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.003429/0.003429, allocations: 205 kB / 309.2 MB, free: 3.125 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.6559/0.6559, allocations: 107.3 MB / 473 MB, free: 29.83 MB / 350.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.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.TwoAreaOld.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_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.002491/0.002491, allocations: 83.31 kB / 0.6332 GB, free: 29.67 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1716/0.1741, allocations: 80.17 MB / 0.7115 GB, free: 7.531 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.008234/0.1823, allocations: 5.935 MB / 0.7173 GB, free: 1.562 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004951/0.1873, allocations: 1.994 MB / 0.7193 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007492/0.188, allocations: 12 kB / 0.7193 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008213/0.1889, allocations: 241.9 kB / 0.7195 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002268/0.1911, allocations: 0.8551 MB / 0.7204 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001531/0.1927, allocations: 0.6495 MB / 0.721 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002186/0.1948, allocations: 1.698 MB / 0.7226 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004456/0.1953, allocations: 207 kB / 0.7228 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001124/0.1964, allocations: 0.7198 MB / 0.7235 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001061/0.1975, allocations: 0.8204 MB / 0.7243 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002354/0.1977, allocations: 132 kB / 0.7245 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006009/0.1983, allocations: 279.9 kB / 0.7247 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000358/0.1987, allocations: 354.5 kB / 0.7251 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005981/0.1993, allocations: 0.5788 MB / 0.7256 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002098/0.2014, allocations: 1.77 MB / 0.7274 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.2014, allocations: 0 / 0.7274 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.585e-06/0.2014, allocations: 0 / 0.7274 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.861e-05/0.2014, allocations: 4 kB / 0.7274 GB, free: 7.238 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.009726/0.2111, allocations: 2.91 MB / 0.7302 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.845e-05/0.2112, allocations: 12.03 kB / 0.7302 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001891/0.2114, allocations: 126.7 kB / 0.7303 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005149/0.2165, allocations: 0.8029 MB / 0.7311 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002021/0.2185, allocations: 0.8663 MB / 0.732 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004204/0.219, allocations: 337.3 kB / 0.7323 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001995/0.2192, allocations: 87.95 kB / 0.7324 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00239/0.2215, allocations: 1.143 MB / 0.7335 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.117e-05/0.2216, allocations: 0 / 0.7335 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001001/0.2217, allocations: 32 kB / 0.7335 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.199e-05/0.2217, allocations: 19.98 kB / 0.7335 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002236/0.2239, allocations: 1.025 MB / 0.7346 GB, free: 15.69 MB / 0.5137 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.00719/0.2311, allocations: 3.026 MB / 0.7375 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007456/0.2386, allocations: 2.051 MB / 0.7395 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001701/0.2403, allocations: 0.6544 MB / 0.7401 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001438/0.2404, allocations: 16.98 kB / 0.7402 GB, free: 9.836 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002101/0.2425, allocations: 0.874 MB / 0.741 GB, free: 8.941 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=98): time 3.997e-06/0.2425, allocations: 0 / 0.741 GB, free: 8.941 MB / 0.5137 GB Notification: Performance of matching and sorting (n=98): time 0.0299/0.2724, allocations: 6.962 MB / 0.7478 GB, free: 1.938 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/0.2725, allocations: 115.8 kB / 0.7479 GB, free: 1.801 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002451/0.275, allocations: 1.143 MB / 0.749 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003206/0.2753, allocations: 45.7 kB / 0.7491 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005717/0.2759, allocations: 0.5054 MB / 0.7496 GB, free: 84 kB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007177/0.2766, allocations: 385 kB / 0.7499 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009985/0.2776, allocations: 295.5 kB / 0.7502 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001684/0.2777, allocations: 305.1 kB / 0.7505 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002071/0.2798, allocations: 0.8467 MB / 0.7513 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002113/0.2819, allocations: 1.027 MB / 0.7524 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02809/0.31, allocations: 6.149 MB / 0.7584 GB, free: 6.934 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.624e-05/0.31, allocations: 0 / 0.7584 GB, free: 6.934 MB / 0.5294 GB Notification: Performance of matching and sorting (n=204) (initialization): time 0.01634/0.3264, allocations: 4.539 MB / 0.7628 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001032/0.3265, allocations: 59.41 kB / 0.7628 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.296e-05/0.3265, allocations: 4 kB / 0.7628 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006714/0.3332, allocations: 1.662 MB / 0.7645 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001764/0.335, allocations: 299.6 kB / 0.7648 GB, free: 328 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02291/0.3579, allocations: 8.354 MB / 0.7729 GB, free: 7.844 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002331/0.3602, allocations: 215.1 kB / 0.7731 GB, free: 7.633 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003549/0.3606, allocations: 55.97 kB / 0.7732 GB, free: 7.578 MB / 0.545 GB Warning: Assuming fixed start value for the following 4 variables: order6.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 order6.delta:VARIABLE(flow=false start = order6.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" 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 (171): * Single equations (assignments): 168 * 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.001051/0.3616, allocations: 300.2 kB / 0.7735 GB, free: 7.27 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000496/0.3621, allocations: 139.2 kB / 0.7736 GB, free: 7.133 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01374/0.3759, allocations: 3.918 MB / 0.7774 GB, free: 3.176 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-05/0.3759, allocations: 8 kB / 0.7774 GB, free: 3.168 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.244e-05/0.3759, allocations: 12 kB / 0.7774 GB, free: 3.156 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-05/0.376, allocations: 7.969 kB / 0.7774 GB, free: 3.148 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 postOpt removeSimpleEquations (simulation): time 0.01714/0.3931, allocations: 5.049 MB / 0.7824 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.544e-05/0.3931, allocations: 0 / 0.7824 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008419/0.394, allocations: 103.9 kB / 0.7825 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005968/0.3999, allocations: 1.602 MB / 0.784 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002562/0.4002, allocations: 27.92 kB / 0.7841 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02259/0.4228, allocations: 9.243 MB / 0.7931 GB, free: 2.812 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.4228, allocations: 0 / 0.7931 GB, free: 2.812 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01634/0.4391, allocations: 4.833 MB / 0.7978 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006216/0.4397, allocations: 162.8 kB / 0.798 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005097/0.4403, allocations: 20 kB / 0.798 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00163/0.4419, allocations: 107.9 kB / 0.7981 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007762/0.4427, allocations: 204.6 kB / 0.7983 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001804/0.4428, allocations: 27.98 kB / 0.7983 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00158/0.4444, allocations: 0.7752 MB / 0.7991 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.21e-07/0.4444, allocations: 0 / 0.7991 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002107/0.4465, allocations: 495.6 kB / 0.7995 GB, free: 12.16 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.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 (66): * Single equations (assignments): 63 * 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 {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01656/0.4631, allocations: 5.444 MB / 0.8049 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.008513/0.4716, allocations: 2.555 MB / 0.8074 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.177e-06/0.4716, allocations: 0 / 0.8074 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005309/0.4769, allocations: 1.59 MB / 0.8089 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001795/0.4787, allocations: 116.2 kB / 0.809 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4219/0.9006, allocations: 17.01 MB / 0.8256 GB, free: 91.34 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006361/0.9013, allocations: 0.5444 MB / 0.8262 GB, free: 91.21 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006298/0.9019, allocations: 125.1 kB / 0.8263 GB, free: 91.19 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005918/0.9025, allocations: 489 kB / 0.8267 GB, free: 90.82 MB / 0.5762 GB Notification: Performance of SimCode: time 8.02e-07/0.9025, allocations: 0 / 0.8267 GB, free: 90.82 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08196/0.9845, allocations: 38.99 MB / 0.8648 GB, free: 60.05 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.57/16.56, allocations: 3.938 kB / 0.8648 GB, free: 60.05 MB / 0.5762 GB " [Timeout remaining time 643] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.58732011122629] Failed to read output from testmodel.py, exit status != 0: 16.701155981980264 16.721775398 16.516523831 Calling exit ...