Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.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.001713/0.001713, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.466/1.466, allocations: 230.6 MB / 252.7 MB, free: 8.312 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.001582/0.001582, allocations: 211.5 kB / 309.2 MB, free: 3.18 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4469/0.4469, allocations: 79.74 MB / 445.4 MB, free: 14.87 MB / 318.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.Tests.Machines.PSAT.Order3test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2",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.004206/0.004206, allocations: 83.88 kB / 0.5929 GB, free: 14.02 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.15, allocations: 73.3 MB / 0.6645 GB, free: 4.621 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.007128/0.1572, allocations: 5.799 MB / 0.6702 GB, free: 14.79 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003709/0.1609, allocations: 1.79 MB / 0.6719 GB, free: 13 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006126/0.1615, allocations: 15.94 kB / 0.6719 GB, free: 12.98 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005468/0.162, allocations: 206.3 kB / 0.6721 GB, free: 12.78 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001911/0.164, allocations: 0.7423 MB / 0.6729 GB, free: 12.03 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001303/0.1653, allocations: 0.5595 MB / 0.6734 GB, free: 11.48 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001687/0.1669, allocations: 1.272 MB / 0.6746 GB, free: 10.2 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003769/0.1673, allocations: 187.6 kB / 0.6748 GB, free: 10.01 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008496/0.1682, allocations: 0.5368 MB / 0.6754 GB, free: 9.469 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008799/0.169, allocations: 0.6533 MB / 0.676 GB, free: 8.812 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001654/0.1692, allocations: 88 kB / 0.6761 GB, free: 8.727 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004996/0.1697, allocations: 231.9 kB / 0.6763 GB, free: 8.5 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002247/0.1699, allocations: 250.8 kB / 0.6765 GB, free: 8.254 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000515/0.1705, allocations: 0.5437 MB / 0.6771 GB, free: 7.707 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001653/0.1721, allocations: 1.373 MB / 0.6784 GB, free: 6.328 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.1721, allocations: 0 / 0.6784 GB, free: 6.328 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1721, allocations: 8 kB / 0.6784 GB, free: 6.32 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.218e-05/0.1721, allocations: 3.938 kB / 0.6784 GB, free: 6.316 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.007864/0.18, allocations: 2.323 MB / 0.6807 GB, free: 3.957 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/0.1801, allocations: 15.97 kB / 0.6807 GB, free: 3.941 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001575/0.1802, allocations: 114.5 kB / 0.6808 GB, free: 3.82 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005029/0.1852, allocations: 0.7602 MB / 0.6816 GB, free: 3.059 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001421/0.1867, allocations: 0.6569 MB / 0.6822 GB, free: 2.371 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000362/0.187, allocations: 303.6 kB / 0.6825 GB, free: 2.027 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001544/0.1872, allocations: 64 kB / 0.6825 GB, free: 1.965 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00211/0.1893, allocations: 0.952 MB / 0.6835 GB, free: 1.004 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.82e-05/0.1893, allocations: 0 / 0.6835 GB, free: 1.004 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.364e-05/0.1894, allocations: 32 kB / 0.6835 GB, free: 0.9727 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.653e-05/0.1894, allocations: 16 kB / 0.6835 GB, free: 0.957 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002192/0.1916, allocations: 0.976 MB / 0.6845 GB, free: 15.98 MB / 494.1 MB 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.005713/0.1973, allocations: 3.119 MB / 0.6875 GB, free: 12.72 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001888/0.1992, allocations: 0.7773 MB / 0.6883 GB, free: 11.93 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001427/0.2006, allocations: 0.6241 MB / 0.6889 GB, free: 11.31 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001074/0.2007, allocations: 16.59 kB / 0.6889 GB, free: 11.29 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.489e-05/0.2008, allocations: 39.22 kB / 0.6889 GB, free: 11.24 MB / 494.1 MB Notification: Performance of pre-optimization done (n=82): time 2.425e-06/0.2008, allocations: 0 / 0.6889 GB, free: 11.24 MB / 494.1 MB Notification: Performance of matching and sorting (n=82): time 0.02718/0.2279, allocations: 6.67 MB / 0.6955 GB, free: 4.555 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.403e-05/0.228, allocations: 68 kB / 0.6955 GB, free: 4.477 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001159/0.2292, allocations: 0.7987 MB / 0.6963 GB, free: 3.652 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001617/0.2293, allocations: 41.7 kB / 0.6963 GB, free: 3.605 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003694/0.2297, allocations: 429.1 kB / 0.6967 GB, free: 3.18 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003551/0.2301, allocations: 313.3 kB / 0.697 GB, free: 2.871 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003701/0.2304, allocations: 182.9 kB / 0.6972 GB, free: 2.684 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001794/0.2306, allocations: 345.9 kB / 0.6976 GB, free: 2.34 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00153/0.2321, allocations: 0.6545 MB / 0.6982 GB, free: 1.688 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001608/0.2337, allocations: 0.7756 MB / 0.6989 GB, free: 0.875 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.264/0.4977, allocations: 4.602 MB / 0.7034 GB, free: 33.36 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.273e-06/0.4977, allocations: 2.875 kB / 0.7034 GB, free: 33.36 MB / 494.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01426/0.512, allocations: 4.084 MB / 0.7074 GB, free: 33.22 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.938e-05/0.512, allocations: 5.844 kB / 0.7074 GB, free: 33.22 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/0.512, allocations: 3.031 kB / 0.7074 GB, free: 33.22 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006296/0.5183, allocations: 1.788 MB / 0.7092 GB, free: 33.14 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008803/0.5192, allocations: 168.9 kB / 0.7093 GB, free: 33.14 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02167/0.5408, allocations: 9.223 MB / 0.7184 GB, free: 29.58 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001279/0.5421, allocations: 153.8 kB / 0.7185 GB, free: 29.54 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.766e-05/0.5422, allocations: 39.77 kB / 0.7185 GB, free: 29.53 MB / 494.1 MB Warning: Assuming fixed start value for the following 2 variables: order31.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order31.delta:VARIABLE(flow=false start = order31.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 94 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(25,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0003864/0.5426, allocations: 232.5 kB / 0.7188 GB, free: 29.34 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001721/0.5428, allocations: 104.8 kB / 0.7189 GB, free: 29.29 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01219/0.555, allocations: 3.8 MB / 0.7226 GB, free: 28.44 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.518e-05/0.555, allocations: 9.359 kB / 0.7226 GB, free: 28.44 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.555, allocations: 0 / 0.7226 GB, free: 28.44 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.514e-05/0.555, allocations: 4.766 kB / 0.7226 GB, free: 28.44 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01381/0.5688, allocations: 5.291 MB / 0.7278 GB, free: 25.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/0.5688, allocations: 0 / 0.7278 GB, free: 25.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005058/0.5693, allocations: 82.83 kB / 0.7278 GB, free: 25.38 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005603/0.5749, allocations: 1.751 MB / 0.7295 GB, free: 24.63 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001303/0.5751, allocations: 19.52 kB / 0.7296 GB, free: 24.62 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01648/0.5915, allocations: 7.968 MB / 0.7373 GB, free: 19.62 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.5915, allocations: 3.875 kB / 0.7373 GB, free: 19.62 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01308/0.6046, allocations: 4.682 MB / 0.7419 GB, free: 15.15 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002869/0.6049, allocations: 119.5 kB / 0.742 GB, free: 15.05 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001564/0.6051, allocations: 15.94 kB / 0.742 GB, free: 15.03 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008831/0.606, allocations: 95.89 kB / 0.7421 GB, free: 14.94 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005294/0.6065, allocations: 204.6 kB / 0.7423 GB, free: 14.74 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.074e-05/0.6065, allocations: 20 kB / 0.7424 GB, free: 14.72 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005519/0.6071, allocations: 0.5383 MB / 0.7429 GB, free: 14.17 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6071, allocations: 0 / 0.7429 GB, free: 14.17 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001094/0.6082, allocations: 413.2 kB / 0.7433 GB, free: 13.78 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order31.delta,order31.w,order31.e1q) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 48 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0134/0.6216, allocations: 5.26 MB / 0.7484 GB, free: 8.492 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005722/0.6273, allocations: 2.231 MB / 0.7506 GB, free: 6.258 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.6273, allocations: 0 / 0.7506 GB, free: 6.258 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004098/0.6314, allocations: 1.442 MB / 0.752 GB, free: 4.801 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006678/0.6321, allocations: 78.95 kB / 0.7521 GB, free: 4.723 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03579/0.6679, allocations: 14.12 MB / 0.7659 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007022/0.6686, allocations: 1.029 MB / 0.7669 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003419/0.6689, allocations: 82.12 kB / 0.7669 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005207/0.6694, allocations: 367.3 kB / 0.7673 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of SimCode: time 9.42e-07/0.6694, allocations: 0 / 0.7673 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07422/0.7437, allocations: 32.24 MB / 0.7988 GB, free: 4.855 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.78/17.53, allocations: 6.766 kB / 0.7988 GB, free: 4.855 MB / 0.5294 GB " [Timeout remaining time 642] (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 39.868882950162515] Failed to read output from testmodel.py, exit status != 0: 17.660633716965094 17.676086105 17.500467999 Calling exit ...