Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.001696/0.001696, 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.521/1.521, 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.001658/0.001658, allocations: 207.4 kB / 309.2 MB, free: 3.086 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.6403/0.6403, allocations: 107.3 MB / 473 MB, free: 29.79 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.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_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.002537/0.002537, allocations: 82.64 kB / 0.6332 GB, free: 29.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.1721, allocations: 80.17 MB / 0.7115 GB, free: 7.551 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII): time 0.008093/0.1802, allocations: 5.822 MB / 0.7172 GB, free: 1.699 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004953/0.1851, allocations: 1.931 MB / 0.7191 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008477/0.186, allocations: 12 kB / 0.7191 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008164/0.1868, allocations: 241.8 kB / 0.7193 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002386/0.1892, allocations: 0.8485 MB / 0.7202 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001535/0.1907, allocations: 0.6354 MB / 0.7208 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002142/0.1929, allocations: 1.6 MB / 0.7224 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000453/0.1933, allocations: 222.8 kB / 0.7226 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001213/0.1945, allocations: 0.6692 MB / 0.7232 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001079/0.1956, allocations: 0.7698 MB / 0.724 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001944/0.1958, allocations: 128 kB / 0.7241 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006192/0.1964, allocations: 275.8 kB / 0.7244 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003255/0.1967, allocations: 326.6 kB / 0.7247 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005589/0.1973, allocations: 0.5477 MB / 0.7252 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002135/0.1994, allocations: 1.708 MB / 0.7269 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.1994, allocations: 0 / 0.7269 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.723e-06/0.1994, allocations: 0 / 0.7269 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.392e-05/0.1995, allocations: 0 / 0.7269 GB, free: 7.77 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.009339/0.2088, allocations: 2.812 MB / 0.7296 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/0.2089, allocations: 12.02 kB / 0.7296 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001666/0.209, allocations: 122.7 kB / 0.7297 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005253/0.2143, allocations: 0.803 MB / 0.7305 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002176/0.2165, allocations: 0.8268 MB / 0.7313 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004321/0.2169, allocations: 341.2 kB / 0.7317 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003169/0.2172, allocations: 87.95 kB / 0.7317 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002812/0.22, allocations: 1.112 MB / 0.7328 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.947e-05/0.22, allocations: 0 / 0.7328 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000147/0.2202, allocations: 32 kB / 0.7329 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.177e-05/0.2202, allocations: 20 kB / 0.7329 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002533/0.2227, allocations: 1.013 MB / 0.7339 GB, free: 420 kB / 0.4981 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.008172/0.2309, allocations: 2.975 MB / 0.7368 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007416/0.2383, allocations: 2.025 MB / 0.7388 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001642/0.24, allocations: 0.6476 MB / 0.7394 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001494/0.2401, allocations: 9 kB / 0.7394 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002043/0.2422, allocations: 0.8467 MB / 0.7402 GB, free: 9.773 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=96): time 3.517e-06/0.2422, allocations: 3.938 kB / 0.7402 GB, free: 9.77 MB / 0.5137 GB Notification: Performance of matching and sorting (n=96): time 0.02978/0.272, allocations: 6.955 MB / 0.747 GB, free: 2.777 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001162/0.2721, allocations: 115.8 kB / 0.7471 GB, free: 2.637 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002229/0.2743, allocations: 1.087 MB / 0.7482 GB, free: 1.535 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002776/0.2746, allocations: 45.7 kB / 0.7482 GB, free: 1.484 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005389/0.2751, allocations: 0.4975 MB / 0.7487 GB, free: 0.9805 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006039/0.2757, allocations: 372.9 kB / 0.7491 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008452/0.2766, allocations: 291.4 kB / 0.7493 GB, free: 332 kB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.2767, allocations: 301.1 kB / 0.7496 GB, free: 28 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001957/0.2787, allocations: 0.8193 MB / 0.7504 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002064/0.2807, allocations: 0.9884 MB / 0.7514 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02589/0.3066, allocations: 5.782 MB / 0.757 GB, free: 8.289 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.671e-05/0.3066, allocations: 0 / 0.757 GB, free: 8.289 MB / 0.5294 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.01541/0.322, allocations: 4.371 MB / 0.7613 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.171e-05/0.3221, allocations: 65.44 kB / 0.7614 GB, free: 3.805 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.98e-05/0.3222, allocations: 4 kB / 0.7614 GB, free: 3.801 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005815/0.328, allocations: 1.507 MB / 0.7629 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001673/0.3296, allocations: 303.5 kB / 0.7631 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02179/0.3514, allocations: 7.987 MB / 0.7709 GB, free: 9.871 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002193/0.3536, allocations: 207 kB / 0.7711 GB, free: 9.668 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003458/0.354, allocations: 59.97 kB / 0.7712 GB, free: 9.609 MB / 0.545 GB Warning: Assuming fixed start value for the following 4 variables: order4.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 order4.delta:VARIABLE(flow=false start = order4.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order4.e1q:VARIABLE(start = order4.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 (166): * Single equations (assignments): 163 * 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 {(18,13,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001069/0.355, allocations: 300.4 kB / 0.7715 GB, free: 9.301 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004901/0.3555, allocations: 135.1 kB / 0.7716 GB, free: 9.168 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01365/0.3692, allocations: 3.878 MB / 0.7754 GB, free: 5.254 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.293e-05/0.3692, allocations: 8 kB / 0.7754 GB, free: 5.246 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-05/0.3692, allocations: 8 kB / 0.7754 GB, free: 5.238 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.04e-05/0.3692, allocations: 3.984 kB / 0.7754 GB, free: 5.234 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.01635/0.3856, allocations: 4.986 MB / 0.7803 GB, free: 184 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.51e-05/0.3856, allocations: 3.984 kB / 0.7803 GB, free: 180 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000671/0.3863, allocations: 99.84 kB / 0.7804 GB, free: 80 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00594/0.3922, allocations: 1.583 MB / 0.7819 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002245/0.3924, allocations: 23.98 kB / 0.782 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02301/0.4155, allocations: 9.243 MB / 0.791 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.4155, allocations: 0 / 0.791 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01573/0.4312, allocations: 4.77 MB / 0.7956 GB, free: 168 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006792/0.4319, allocations: 158.8 kB / 0.7958 GB, free: 8 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005078/0.4324, allocations: 23.98 kB / 0.7958 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001589/0.434, allocations: 107.9 kB / 0.7959 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007926/0.4348, allocations: 204.6 kB / 0.7961 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001552/0.4349, allocations: 28 kB / 0.7961 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001684/0.4366, allocations: 0.7312 MB / 0.7969 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4366, allocations: 0 / 0.7969 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002225/0.4388, allocations: 471.7 kB / 0.7973 GB, free: 14.46 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,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 (64): * Single equations (assignments): 61 * 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 {(19,13,24.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.01622/0.455, allocations: 5.359 MB / 0.8025 GB, free: 9.035 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.007231/0.4623, allocations: 2.455 MB / 0.8049 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.4623, allocations: 0 / 0.8049 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004646/0.4669, allocations: 1.556 MB / 0.8065 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00147/0.4684, allocations: 114 kB / 0.8066 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4333/0.9017, allocations: 16.25 MB / 0.8224 GB, free: 91.84 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001036/0.9028, allocations: 0.53 MB / 0.823 GB, free: 91.71 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007189/0.9035, allocations: 120.6 kB / 0.8231 GB, free: 91.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006848/0.9042, allocations: 469 kB / 0.8235 GB, free: 91.35 MB / 0.5762 GB Notification: Performance of SimCode: time 1.883e-06/0.9042, allocations: 0 / 0.8235 GB, free: 91.35 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0744/0.9786, allocations: 37.5 MB / 0.8601 GB, free: 63.86 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.41/16.39, allocations: 3.859 kB / 0.8601 GB, free: 63.85 MB / 0.5762 GB " [Timeout remaining time 643] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRII_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.195071645081043] Failed to read output from testmodel.py, exit status != 0: 16.529017365071923 16.542624667 16.340496378 Calling exit ...