Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.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.001397/0.001397, 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.565/1.565, allocations: 230.6 MB / 252.7 MB, free: 14.26 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.001661/0.001661, allocations: 208.1 kB / 309.2 MB, free: 3.148 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.6945/0.6945, allocations: 107.3 MB / 473 MB, free: 29.95 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.TwoArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_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.002719/0.002719, allocations: 86.41 kB / 0.6334 GB, free: 29.39 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1864/0.1891, allocations: 80.18 MB / 0.7117 GB, free: 7.402 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII): time 0.02105/0.2101, allocations: 18.56 MB / 0.7298 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01378/0.2239, allocations: 4.869 MB / 0.7345 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005335/0.2292, allocations: 44 kB / 0.7346 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003866/0.2331, allocations: 0.8789 MB / 0.7354 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.01049/0.2436, allocations: 2.298 MB / 0.7377 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.007402/0.251, allocations: 2.058 MB / 0.7397 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01216/0.2632, allocations: 5.795 MB / 0.7453 GB, free: 4.797 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002472/0.2656, allocations: 0.865 MB / 0.7462 GB, free: 3.879 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004799/0.2704, allocations: 2.423 MB / 0.7486 GB, free: 1.445 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00512/0.2756, allocations: 2.697 MB / 0.7512 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.002194/0.2777, allocations: 444 kB / 0.7516 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002902/0.2806, allocations: 0.5974 MB / 0.7522 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.002204/0.2829, allocations: 1.163 MB / 0.7533 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.004622/0.2875, allocations: 2.136 MB / 0.7554 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01188/0.2994, allocations: 6.367 MB / 0.7616 GB, free: 3.992 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.2994, allocations: 0 / 0.7616 GB, free: 3.992 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.096e-06/0.2994, allocations: 7.938 kB / 0.7616 GB, free: 3.984 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0003392/0.2997, allocations: 0 / 0.7616 GB, free: 3.984 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: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.03647/0.3362, allocations: 9.97 MB / 0.7714 GB, free: 9.918 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.205e-05/0.3362, allocations: 11.97 kB / 0.7714 GB, free: 9.906 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001549/0.3378, allocations: 488.9 kB / 0.7719 GB, free: 9.418 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02737/0.3652, allocations: 4.055 MB / 0.7758 GB, free: 5.355 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008373/0.3735, allocations: 2.598 MB / 0.7784 GB, free: 2.668 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001441/0.375, allocations: 1.033 MB / 0.7794 GB, free: 1.48 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001905/0.3769, allocations: 352 kB / 0.7797 GB, free: 1.137 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01566/0.3925, allocations: 4.768 MB / 0.7844 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.308e-05/0.3926, allocations: 3.938 kB / 0.7844 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006856/0.3933, allocations: 140 kB / 0.7845 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.26e-05/0.3934, allocations: 84 kB / 0.7846 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01269/0.4061, allocations: 4.261 MB / 0.7887 GB, free: 7.84 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.04222/0.4483, allocations: 13.44 MB / 0.8019 GB, free: 9.965 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01388/0.4622, allocations: 4.37 MB / 0.8061 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007087/0.4693, allocations: 2.512 MB / 0.8086 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007935/0.4701, allocations: 62.91 kB / 0.8086 GB, free: 2.988 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.4047/0.8748, allocations: 3.215 MB / 0.8118 GB, free: 85.85 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=384): time 1.235e-05/0.8748, allocations: 0.5625 kB / 0.8118 GB, free: 85.85 MB / 0.5762 GB Notification: Performance of matching and sorting (n=384): time 0.2922/1.167, allocations: 67.55 MB / 0.8777 GB, free: 42.61 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001419/1.167, allocations: 149.8 kB / 0.8779 GB, free: 42.44 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006961/1.174, allocations: 3.273 MB / 0.8811 GB, free: 39.2 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.001243/1.175, allocations: 93.73 kB / 0.8812 GB, free: 39.1 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001574/1.177, allocations: 2.014 MB / 0.8831 GB, free: 37.45 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.002463/1.179, allocations: 1.378 MB / 0.8845 GB, free: 36.28 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003735/1.183, allocations: 0.6824 MB / 0.8852 GB, free: 35.59 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.422e-05/1.183, allocations: 301.1 kB / 0.8854 GB, free: 35.29 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006006/1.189, allocations: 2.655 MB / 0.888 GB, free: 32.61 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006532/1.196, allocations: 3.287 MB / 0.8912 GB, free: 29.09 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06937/1.265, allocations: 19.22 MB / 0.91 GB, free: 9.613 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.724e-05/1.265, allocations: 4 kB / 0.91 GB, free: 9.609 MB / 0.5762 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.06171/1.327, allocations: 17.24 MB / 0.9269 GB, free: 8.309 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001227/1.327, allocations: 63.41 kB / 0.9269 GB, free: 8.234 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.537e-05/1.327, allocations: 16 kB / 0.9269 GB, free: 8.219 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02814/1.355, allocations: 7.15 MB / 0.9339 GB, free: 1.062 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004147/1.359, allocations: 0.6865 MB / 0.9346 GB, free: 384 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1081/1.467, allocations: 32.39 MB / 0.9662 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007191/1.475, allocations: 0.6263 MB / 0.9668 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001414/1.476, allocations: 156 kB / 0.967 GB, free: 15.16 MB / 0.6387 GB 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 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 order5.delta:VARIABLE(flow=false start = order5.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 (407): * Single equations (assignments): 404 * 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.004079/1.48, allocations: 0.6818 MB / 0.9676 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002417/1.482, allocations: 480.8 kB / 0.9681 GB, free: 14.01 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06357/1.546, allocations: 16.76 MB / 0.9845 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.078e-05/1.546, allocations: 39.94 kB / 0.9845 GB, free: 13.13 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001408/1.546, allocations: 28.8 kB / 0.9845 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001526/1.546, allocations: 19.94 kB / 0.9846 GB, free: 13.09 MB / 0.6544 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.07661/1.623, allocations: 20.42 MB / 1.005 GB, free: 8.684 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.622e-05/1.623, allocations: 0 / 1.005 GB, free: 8.684 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00273/1.626, allocations: 392.9 kB / 1.005 GB, free: 8.301 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02852/1.654, allocations: 7.37 MB / 1.012 GB, free: 0.918 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001415/1.656, allocations: 75.98 kB / 1.012 GB, free: 0.8438 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1002/1.756, allocations: 30.77 MB / 1.042 GB, free: 1.863 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/1.756, allocations: 4.656 kB / 1.042 GB, free: 1.859 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07388/1.83, allocations: 20.2 MB / 1.062 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002365/1.832, allocations: 0.5112 MB / 1.062 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002302/1.834, allocations: 60 kB / 1.062 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006624/1.841, allocations: 383.5 kB / 1.063 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004851/1.846, allocations: 0.8191 MB / 1.064 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00132/1.847, allocations: 95.98 kB / 1.064 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.005919/1.853, allocations: 2.14 MB / 1.066 GB, free: 9.605 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/1.853, allocations: 0 / 1.066 GB, free: 9.605 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.01032/1.864, allocations: 1.818 MB / 1.068 GB, free: 7.848 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order3.delta,order3.w,order3.e1q,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 (248): * Single equations (assignments): 245 * 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.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.07501/1.939, allocations: 20.86 MB / 1.088 GB, free: 2.891 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.03099/1.97, allocations: 8.89 MB / 1.097 GB, free: 9.938 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/1.97, allocations: 0 / 1.097 GB, free: 9.938 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.02235/1.992, allocations: 5.932 MB / 1.102 GB, free: 3.957 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006056/1.998, allocations: 397 kB / 1.103 GB, free: 3.566 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5702/2.568, allocations: 59.23 MB / 1.161 GB, free: 241.9 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002995/2.571, allocations: 1.939 MB / 1.163 GB, free: 239.9 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001945/2.573, allocations: 379.3 kB / 1.163 GB, free: 239.6 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002421/2.575, allocations: 2.03 MB / 1.165 GB, free: 237.5 MB / 0.7637 GB Notification: Performance of SimCode: time 2.304e-06/2.575, allocations: 0 / 1.165 GB, free: 237.5 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2305/2.806, allocations: 137.8 MB / 1.299 GB, free: 100.3 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.7/24.51, allocations: 6.281 kB / 1.299 GB, free: 100.3 MB / 0.7637 GB " [Timeout remaining time 635] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 29.537367986980826] Failed to read output from testmodel.py, exit status != 0: 24.705194243695587 24.726288643 24.422600896 Calling exit ...