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.001321/0.001321, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.426/1.426, allocations: 230.6 MB / 253.5 MB, free: 14.28 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.00146/0.00146, allocations: 215 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.5707/0.5707, allocations: 101.3 MB / 467.7 MB, free: 32.2 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.002398/0.002398, allocations: 82.16 kB / 0.6252 GB, free: 32.8 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1287, allocations: 78.61 MB / 0.702 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII): time 0.02044/0.1491, allocations: 18.48 MB / 0.72 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0112/0.1603, allocations: 4.822 MB / 0.7247 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00374/0.1641, allocations: 47.94 kB / 0.7248 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002964/0.167, allocations: 0.875 MB / 0.7256 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.008923/0.1759, allocations: 2.289 MB / 0.7279 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006724/0.1827, allocations: 2.06 MB / 0.7299 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.009857/0.1925, allocations: 5.747 MB / 0.7355 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002961/0.1955, allocations: 0.9196 MB / 0.7364 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00472/0.2002, allocations: 2.4 MB / 0.7387 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0051/0.2053, allocations: 2.955 MB / 0.7416 GB, free: 7.93 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.00184/0.2071, allocations: 436 kB / 0.742 GB, free: 7.504 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002404/0.2095, allocations: 0.6015 MB / 0.7426 GB, free: 6.902 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001939/0.2115, allocations: 1.151 MB / 0.7437 GB, free: 5.746 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.003852/0.2153, allocations: 2.117 MB / 0.7458 GB, free: 3.617 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01066/0.226, allocations: 6.328 MB / 0.752 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.226, allocations: 0 / 0.752 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.195e-06/0.226, allocations: 0 / 0.752 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0002353/0.2262, allocations: 0 / 0.752 GB, free: 13.26 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.03404/0.2603, allocations: 9.888 MB / 0.7616 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.2603, allocations: 12.03 kB / 0.7616 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001069/0.2604, allocations: 90.45 kB / 0.7617 GB, free: 3.18 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007728/0.2612, allocations: 488.8 kB / 0.7622 GB, free: 2.691 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02818/0.2894, allocations: 4.059 MB / 0.7662 GB, free: 14.62 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006308/0.2957, allocations: 2.563 MB / 0.7687 GB, free: 11.97 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001151/0.2968, allocations: 1.036 MB / 0.7697 GB, free: 10.78 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001039/0.2979, allocations: 352 kB / 0.77 GB, free: 10.43 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01065/0.3085, allocations: 4.756 MB / 0.7747 GB, free: 5.641 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.716e-05/0.3086, allocations: 4 kB / 0.7747 GB, free: 5.637 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004423/0.309, allocations: 140 kB / 0.7748 GB, free: 5.5 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-05/0.3091, allocations: 84 kB / 0.7749 GB, free: 5.418 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01092/0.32, allocations: 4.269 MB / 0.779 GB, free: 1.137 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.03609/0.3561, allocations: 13.42 MB / 0.7922 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01332/0.3694, allocations: 4.357 MB / 0.7964 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006645/0.3761, allocations: 2.503 MB / 0.7989 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006546/0.3767, allocations: 54.95 kB / 0.7989 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008403/0.3851, allocations: 3.198 MB / 0.802 GB, free: 9.086 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=383): time 8.927e-06/0.3851, allocations: 4 kB / 0.802 GB, free: 9.082 MB / 0.5762 GB Notification: Performance of matching and sorting (n=383): time 0.5637/0.9488, allocations: 67.82 MB / 0.8683 GB, free: 59.33 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.264e-05/0.9489, allocations: 149.6 kB / 0.8684 GB, free: 59.16 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00347/0.9524, allocations: 3.227 MB / 0.8716 GB, free: 56.38 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0008134/0.9532, allocations: 93.7 kB / 0.8716 GB, free: 56.29 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009103/0.9541, allocations: 1.996 MB / 0.8736 GB, free: 54.66 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001139/0.9552, allocations: 1.38 MB / 0.8749 GB, free: 53.48 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001246/0.9565, allocations: 0.6706 MB / 0.8756 GB, free: 52.8 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.574e-05/0.9565, allocations: 307.5 kB / 0.8759 GB, free: 52.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004559/0.9611, allocations: 2.64 MB / 0.8785 GB, free: 49.84 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004777/0.9659, allocations: 3.264 MB / 0.8817 GB, free: 46.34 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06439/1.03, allocations: 18.99 MB / 0.9002 GB, free: 27.1 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.106e-05/1.03, allocations: 4 kB / 0.9002 GB, free: 27.09 MB / 0.5762 GB Notification: Performance of matching and sorting (n=538) (initialization): time 0.0497/1.08, allocations: 17.2 MB / 0.917 GB, free: 9.836 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.849e-05/1.08, allocations: 67.39 kB / 0.9171 GB, free: 9.758 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.611e-05/1.08, allocations: 16 kB / 0.9171 GB, free: 9.742 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02329/1.103, allocations: 7.155 MB / 0.9241 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003303/1.107, allocations: 0.6748 MB / 0.9247 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0884/1.195, allocations: 32.37 MB / 0.9564 GB, free: 1.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005768/1.201, allocations: 0.6187 MB / 0.957 GB, free: 0.875 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006171/1.201, allocations: 160 kB / 0.9571 GB, free: 0.7188 MB / 0.6075 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.00181/1.203, allocations: 0.6668 MB / 0.9578 GB, free: 52 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001061/1.204, allocations: 484.8 kB / 0.9582 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0572/1.262, allocations: 16.74 MB / 0.9746 GB, free: 14.76 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.564e-05/1.262, allocations: 36 kB / 0.9746 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.385e-05/1.262, allocations: 31.94 kB / 0.9746 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-05/1.262, allocations: 19.92 kB / 0.9747 GB, free: 14.68 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.06466/1.326, allocations: 20.4 MB / 0.9946 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.966e-05/1.326, allocations: 1.5 kB / 0.9946 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00247/1.329, allocations: 387.5 kB / 0.9949 GB, free: 9.918 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02737/1.356, allocations: 7.337 MB / 1.002 GB, free: 2.566 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008953/1.357, allocations: 75.92 kB / 1.002 GB, free: 2.492 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08286/1.44, allocations: 30.78 MB / 1.032 GB, free: 3.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/1.44, allocations: 0 / 1.032 GB, free: 3.5 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0657/1.506, allocations: 20.17 MB / 1.052 GB, free: 15.24 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001355/1.507, allocations: 0.5061 MB / 1.052 GB, free: 14.78 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009449/1.508, allocations: 67.94 kB / 1.052 GB, free: 14.71 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004193/1.512, allocations: 379.6 kB / 1.053 GB, free: 14.34 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003267/1.515, allocations: 0.8114 MB / 1.054 GB, free: 13.53 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004012/1.516, allocations: 100.8 kB / 1.054 GB, free: 13.43 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.003435/1.519, allocations: 2.101 MB / 1.056 GB, free: 11.32 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/1.519, allocations: 0 / 1.056 GB, free: 11.32 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.005399/1.525, allocations: 1.806 MB / 1.058 GB, free: 9.582 MB / 0.7169 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.06594/1.591, allocations: 20.82 MB / 1.078 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02708/1.618, allocations: 8.841 MB / 1.087 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.371e-06/1.618, allocations: 0 / 1.087 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.02058/1.638, allocations: 5.891 MB / 1.092 GB, free: 5.816 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002964/1.641, allocations: 386.2 kB / 1.093 GB, free: 5.438 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4223/2.064, allocations: 58.9 MB / 1.15 GB, free: 235.5 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001537/2.065, allocations: 1.931 MB / 1.152 GB, free: 233.5 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001506/2.067, allocations: 381.1 kB / 1.152 GB, free: 233.2 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001875/2.068, allocations: 1.975 MB / 1.154 GB, free: 231.2 MB / 0.7481 GB Notification: Performance of SimCode: time 9.72e-07/2.068, allocations: 0 / 1.154 GB, free: 231.2 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1555/2.224, allocations: 135.1 MB / 1.286 GB, free: 96.77 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.63/25.85, allocations: 8 kB / 1.286 GB, free: 96.77 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.594961954047903] Failed to read output from testmodel.py, exit status != 0: 26.101892046048306 26.121846985 25.892295688 Calling exit ...