Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_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.001575/0.001575, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.423/1.423, allocations: 230.6 MB / 253.4 MB, free: 14.5 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.001505/0.001505, allocations: 220.5 kB / 310 MB, free: 3.129 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.5853/0.5853, allocations: 101.3 MB / 467.8 MB, free: 30.47 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.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_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.00238/0.00238, allocations: 84.86 kB / 0.6253 GB, free: 33.03 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1448, allocations: 78.61 MB / 0.7021 GB, free: 0.9531 MB / 478.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII): time 0.02279/0.1676, allocations: 21.86 MB / 0.7234 GB, free: 11 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01199/0.1796, allocations: 4.927 MB / 0.7282 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003554/0.1831, allocations: 47.94 kB / 0.7283 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002615/0.1857, allocations: 0.8789 MB / 0.7291 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007431/0.1932, allocations: 2.301 MB / 0.7314 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005524/0.1987, allocations: 2.072 MB / 0.7334 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.009231/0.2079, allocations: 5.743 MB / 0.739 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0019/0.2098, allocations: 0.9118 MB / 0.7399 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003826/0.2137, allocations: 2.392 MB / 0.7422 GB, free: 7.641 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004312/0.218, allocations: 2.951 MB / 0.7451 GB, free: 4.676 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001014/0.219, allocations: 436 kB / 0.7455 GB, free: 4.25 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001456/0.2204, allocations: 0.6131 MB / 0.7461 GB, free: 3.637 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.00108/0.2215, allocations: 1.143 MB / 0.7472 GB, free: 2.488 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.003029/0.2245, allocations: 2.614 MB / 0.7498 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.008632/0.2332, allocations: 6.262 MB / 0.7559 GB, free: 9.57 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.2332, allocations: 0 / 0.7559 GB, free: 9.57 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.794e-06/0.2332, allocations: 3.938 kB / 0.7559 GB, free: 9.566 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0002014/0.2334, allocations: 0 / 0.7559 GB, free: 9.566 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: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.03319/0.2666, allocations: 9.903 MB / 0.7656 GB, free: 15.57 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.2666, allocations: 8.031 kB / 0.7656 GB, free: 15.56 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.105e-05/0.2667, allocations: 86.52 kB / 0.7657 GB, free: 15.48 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007141/0.2674, allocations: 488.8 kB / 0.7661 GB, free: 14.99 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02911/0.2965, allocations: 4.055 MB / 0.7701 GB, free: 10.93 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0062/0.3027, allocations: 2.563 MB / 0.7726 GB, free: 8.273 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001178/0.3039, allocations: 1.044 MB / 0.7736 GB, free: 7.074 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001054/0.305, allocations: 348 kB / 0.7739 GB, free: 6.734 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0104/0.3154, allocations: 4.727 MB / 0.7786 GB, free: 1.977 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.533e-05/0.3154, allocations: 0 / 0.7786 GB, free: 1.977 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004307/0.3159, allocations: 140 kB / 0.7787 GB, free: 1.84 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.884e-05/0.3159, allocations: 87.94 kB / 0.7788 GB, free: 1.754 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009907/0.3258, allocations: 4.244 MB / 0.7829 GB, free: 13.5 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.03615/0.362, allocations: 18.03 MB / 0.8005 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01325/0.3753, allocations: 4.339 MB / 0.8048 GB, free: 5.934 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006184/0.3814, allocations: 2.477 MB / 0.8072 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004015/0.3818, allocations: 70.91 kB / 0.8073 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00722/0.3891, allocations: 3.169 MB / 0.8104 GB, free: 172 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=382): time 6.222e-06/0.3891, allocations: 4 kB / 0.8104 GB, free: 168 kB / 0.5762 GB Notification: Performance of matching and sorting (n=382): time 0.563/0.9521, allocations: 67.92 MB / 0.8767 GB, free: 51.2 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.398e-05/0.9522, allocations: 145.8 kB / 0.8768 GB, free: 51.03 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004493/0.9567, allocations: 3.227 MB / 0.88 GB, free: 47.82 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.001327/0.958, allocations: 93.7 kB / 0.8801 GB, free: 47.72 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001271/0.9593, allocations: 2.007 MB / 0.882 GB, free: 46.09 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001664/0.9609, allocations: 1.372 MB / 0.8834 GB, free: 44.92 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001376/0.9623, allocations: 0.6705 MB / 0.884 GB, free: 44.24 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.587e-05/0.9623, allocations: 301.1 kB / 0.8843 GB, free: 43.94 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0049/0.9672, allocations: 2.581 MB / 0.8868 GB, free: 41.35 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005208/0.9725, allocations: 3.201 MB / 0.89 GB, free: 37.93 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06498/1.037, allocations: 18.97 MB / 0.9085 GB, free: 18.7 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.008e-05/1.037, allocations: 4 kB / 0.9085 GB, free: 18.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=534) (initialization): time 0.05027/1.088, allocations: 16.84 MB / 0.9249 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.958e-05/1.088, allocations: 63.41 kB / 0.925 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.139e-05/1.088, allocations: 12 kB / 0.925 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02705/1.115, allocations: 7.229 MB / 0.9321 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00377/1.119, allocations: 0.6709 MB / 0.9327 GB, free: 9.824 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09526/1.214, allocations: 33.64 MB / 0.9656 GB, free: 8.09 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005847/1.22, allocations: 0.6182 MB / 0.9662 GB, free: 7.551 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005589/1.22, allocations: 152.8 kB / 0.9663 GB, free: 7.402 MB / 0.6231 GB Warning: Assuming fixed start value for the following 4 variables: order3_1.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 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 (398): * Single equations (assignments): 395 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(92,45)} Notification: Performance of prepare postOptimizeDAE: time 0.001884/1.222, allocations: 0.6831 MB / 0.967 GB, free: 6.715 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001016/1.223, allocations: 473 kB / 0.9674 GB, free: 6.25 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05971/1.283, allocations: 16.72 MB / 0.9838 GB, free: 5.465 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.675e-05/1.283, allocations: 40 kB / 0.9838 GB, free: 5.426 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.627e-05/1.283, allocations: 28 kB / 0.9838 GB, free: 5.398 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001132/1.283, allocations: 20.8 kB / 0.9838 GB, free: 5.379 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.068/1.351, allocations: 21.66 MB / 1.005 GB, free: 15.69 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.604e-05/1.351, allocations: 0 / 1.005 GB, free: 15.69 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002466/1.354, allocations: 391.5 kB / 1.005 GB, free: 15.31 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02813/1.382, allocations: 7.378 MB / 1.013 GB, free: 7.922 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009828/1.383, allocations: 67.98 kB / 1.013 GB, free: 7.855 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09187/1.475, allocations: 31.64 MB / 1.044 GB, free: 7.992 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/1.475, allocations: 0 / 1.044 GB, free: 7.992 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06877/1.543, allocations: 20.1 MB / 1.063 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001567/1.545, allocations: 0.4984 MB / 1.064 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001649/1.547, allocations: 71.98 kB / 1.064 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005276/1.552, allocations: 375.6 kB / 1.064 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0036/1.555, allocations: 0.8154 MB / 1.065 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006702/1.556, allocations: 95.92 kB / 1.065 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.003621/1.56, allocations: 2.114 MB / 1.067 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/1.56, allocations: 0 / 1.067 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00643/1.566, allocations: 1.805 MB / 1.069 GB, free: 14.14 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order3.delta,order3.w,order3.e1q,order3_1.delta,order3_1.w,order3_1.e1q,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 (246): * Single equations (assignments): 243 * 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.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.06894/1.635, allocations: 20.77 MB / 1.089 GB, free: 9.285 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.3142/1.949, allocations: 8.882 MB / 1.098 GB, free: 256.4 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 8.957e-06/1.949, allocations: 0 / 1.098 GB, free: 256.4 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.02118/1.971, allocations: 5.894 MB / 1.104 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.003343/1.974, allocations: 383.1 kB / 1.104 GB, free: 255.7 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1446/2.118, allocations: 58.01 MB / 1.161 GB, free: 226.2 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001774/2.12, allocations: 2.439 MB / 1.163 GB, free: 223.7 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001425/2.122, allocations: 379.1 kB / 1.163 GB, free: 223.3 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001924/2.124, allocations: 2.014 MB / 1.165 GB, free: 221.3 MB / 0.7481 GB Notification: Performance of SimCode: time 1.152e-06/2.124, allocations: 0 / 1.165 GB, free: 221.3 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1724/2.296, allocations: 134.1 MB / 1.296 GB, free: 87.46 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.29/26.59, allocations: 2.922 kB / 1.296 GB, free: 87.46 MB / 0.7481 GB " [Timeout remaining time 633] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 31.38803236396052] Failed to read output from testmodel.py, exit status != 0: 26.860317177022807 26.877712812 26.640977605 Calling exit ...