Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.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.001829/0.001829, 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.483/1.483, 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.001548/0.001548, allocations: 219 kB / 309.2 MB, free: 3.141 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.599/0.599, allocations: 107.2 MB / 472.8 MB, free: 29.9 MB / 350.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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.Discretization.FourthOrder_AVRII_Discrete,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discrete",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discrete",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.002487/0.002487, allocations: 88.95 kB / 0.6331 GB, free: 29.74 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1379, allocations: 80.15 MB / 0.7113 GB, free: 7.652 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete): time 0.007015/0.1449, allocations: 5.52 MB / 0.7167 GB, free: 2.102 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003859/0.1488, allocations: 1.818 MB / 0.7185 GB, free: 284 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007423/0.1495, allocations: 8 kB / 0.7185 GB, free: 276 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006019/0.1501, allocations: 218.1 kB / 0.7187 GB, free: 56 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002239/0.1524, allocations: 0.7952 MB / 0.7195 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001402/0.1538, allocations: 0.5735 MB / 0.72 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001634/0.1554, allocations: 1.386 MB / 0.7214 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003782/0.1558, allocations: 188.6 kB / 0.7216 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008264/0.1566, allocations: 0.6029 MB / 0.7222 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008975/0.1575, allocations: 0.6998 MB / 0.7229 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001627/0.1577, allocations: 104 kB / 0.723 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005112/0.1582, allocations: 255.8 kB / 0.7232 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002648/0.1585, allocations: 290.7 kB / 0.7235 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000464/0.1589, allocations: 0.4972 MB / 0.724 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001676/0.1606, allocations: 1.529 MB / 0.7255 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1606, allocations: 0 / 0.7255 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1606, allocations: 0 / 0.7255 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.928e-05/0.1606, allocations: 7.922 kB / 0.7255 GB, free: 9.117 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.008717/0.1693, allocations: 2.459 MB / 0.7279 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.1694, allocations: 8.031 kB / 0.7279 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001695/0.1696, allocations: 122.5 kB / 0.728 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004912/0.1745, allocations: 0.7758 MB / 0.7287 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001441/0.1759, allocations: 0.7488 MB / 0.7295 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003713/0.1763, allocations: 362.9 kB / 0.7298 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001612/0.1764, allocations: 72 kB / 0.7299 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00248/0.1789, allocations: 1.174 MB / 0.731 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/0.1789, allocations: 0 / 0.731 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.154e-05/0.179, allocations: 28 kB / 0.7311 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.18e-05/0.179, allocations: 27.88 kB / 0.7311 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002049/0.1811, allocations: 0.9421 MB / 0.732 GB, free: 2.23 MB / 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.006086/0.1872, allocations: 2.748 MB / 0.7347 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007227/0.1944, allocations: 1.921 MB / 0.7366 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001409/0.1958, allocations: 0.5931 MB / 0.7371 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 9.413e-05/0.1959, allocations: 16.64 kB / 0.7372 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.042e-05/0.196, allocations: 43.22 kB / 0.7372 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=92): time 3.307e-06/0.196, allocations: 0 / 0.7372 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of matching and sorting (n=92): time 0.0283/0.2243, allocations: 6.701 MB / 0.7437 GB, free: 6.074 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/0.2244, allocations: 93.77 kB / 0.7438 GB, free: 5.965 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001448/0.2258, allocations: 0.9734 MB / 0.7448 GB, free: 4.973 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001565/0.226, allocations: 41.7 kB / 0.7448 GB, free: 4.926 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003882/0.2263, allocations: 461.4 kB / 0.7453 GB, free: 4.469 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003673/0.2267, allocations: 337.2 kB / 0.7456 GB, free: 4.137 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004488/0.2272, allocations: 251.5 kB / 0.7458 GB, free: 3.883 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.2273, allocations: 305.1 kB / 0.7461 GB, free: 3.582 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001551/0.2288, allocations: 0.6988 MB / 0.7468 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001744/0.2306, allocations: 0.9146 MB / 0.7477 GB, free: 1.898 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02404/0.2546, allocations: 5.284 MB / 0.7529 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.699e-05/0.2546, allocations: 4 kB / 0.7529 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.01371/0.2683, allocations: 4.122 MB / 0.7569 GB, free: 8.402 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.206e-05/0.2684, allocations: 8 kB / 0.7569 GB, free: 8.395 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.967e-05/0.2684, allocations: 8 kB / 0.7569 GB, free: 8.387 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005748/0.2741, allocations: 1.503 MB / 0.7584 GB, free: 6.879 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001288/0.2754, allocations: 263.6 kB / 0.7586 GB, free: 6.621 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02033/0.2958, allocations: 7.995 MB / 0.7664 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001666/0.2974, allocations: 175.1 kB / 0.7666 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001387/0.2976, allocations: 59.97 kB / 0.7667 GB, free: 14.26 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: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 4 (aVRTypeII.vf,aVRTypeII.vr2,aVRTypeII.vr1,aVRTypeII.vm) * Top-level inputs: 0 Notification: Strong component statistics for initialization (151): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * 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.0006502/0.2982, allocations: 269.7 kB / 0.7669 GB, free: 13.99 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001063/0.2993, allocations: 341.4 kB / 0.7672 GB, free: 13.65 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01236/0.3116, allocations: 3.557 MB / 0.7707 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.92e-05/0.3117, allocations: 12 kB / 0.7707 GB, free: 10.06 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.391e-05/0.3117, allocations: 8 kB / 0.7707 GB, free: 10.05 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.872e-05/0.3117, allocations: 11.97 kB / 0.7707 GB, free: 10.04 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.01486/0.3266, allocations: 4.656 MB / 0.7753 GB, free: 5.324 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.581e-05/0.3266, allocations: 3.984 kB / 0.7753 GB, free: 5.32 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006543/0.3272, allocations: 111.8 kB / 0.7754 GB, free: 5.211 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005784/0.333, allocations: 1.575 MB / 0.7769 GB, free: 3.629 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000134/0.3332, allocations: 20 kB / 0.777 GB, free: 3.609 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02104/0.3542, allocations: 10.38 MB / 0.7871 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.3542, allocations: 3.938 kB / 0.7871 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01503/0.3692, allocations: 4.583 MB / 0.7916 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004484/0.3697, allocations: 139 kB / 0.7917 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001721/0.3698, allocations: 16 kB / 0.7917 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009838/0.3708, allocations: 87.89 kB / 0.7918 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000546/0.3714, allocations: 180.7 kB / 0.792 GB, free: 3.898 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.249e-05/0.3714, allocations: 31.98 kB / 0.792 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0009229/0.3724, allocations: 0.6434 MB / 0.7926 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.3724, allocations: 0 / 0.7926 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001368/0.3737, allocations: 443.7 kB / 0.7931 GB, free: 2.781 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 4 (aVRTypeII.vm,aVRTypeII.vr1,aVRTypeII.vr2,aVRTypeII.vf) * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * 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 {(3,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01562/0.3894, allocations: 5.166 MB / 0.7981 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.006317/0.3957, allocations: 2.174 MB / 0.8002 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.3957, allocations: 0 / 0.8002 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004059/0.3997, allocations: 1.267 MB / 0.8015 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0016/0.4013, allocations: 340.8 kB / 0.8018 GB, free: 9.754 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3423/0.7436, allocations: 14.99 MB / 0.8164 GB, free: 92.12 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006315/0.7443, allocations: 493 kB / 0.8169 GB, free: 92 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004496/0.7447, allocations: 102.7 kB / 0.817 GB, free: 91.99 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005353/0.7452, allocations: 439.7 kB / 0.8174 GB, free: 91.98 MB / 0.5762 GB Notification: Performance of SimCode: time 1.072e-06/0.7452, allocations: 0 / 0.8174 GB, free: 91.98 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06699/0.8122, allocations: 34.38 MB / 0.851 GB, free: 73.19 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.39/15.2, allocations: 3.266 kB / 0.851 GB, free: 73.19 MB / 0.5762 GB " [Timeout remaining time 645] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discrete_fmu --startTime=0 --stopTime=20 --stepSize=0.01 --timeout=50 --tolerance=0.001 OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discrete.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.921076278202236] Failed to read output from testmodel.py, exit status != 0: 15.335420072078705 15.355078023 15.190747954 Calling exit ...