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.001346/0.001346, allocations: 116.8 kB / 17.17 MB, free: 6 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.4/1.4, allocations: 230.6 MB / 250.5 MB, free: 9.203 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.001553/0.001553, allocations: 228.1 kB / 306.7 MB, free: 4.273 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.4457/0.4457, allocations: 79.72 MB / 442.5 MB, free: 15.93 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2",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.002422/0.002422, allocations: 83.88 kB / 0.5885 GB, free: 1.398 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1531, allocations: 73.25 MB / 0.66 GB, free: 8.047 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.006778/0.1599, allocations: 5.787 MB / 0.6657 GB, free: 2.223 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00376/0.1637, allocations: 1.782 MB / 0.6674 GB, free: 444 kB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005263/0.1642, allocations: 12 kB / 0.6674 GB, free: 432 kB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005318/0.1647, allocations: 202.2 kB / 0.6676 GB, free: 228 kB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001716/0.1664, allocations: 0.7535 MB / 0.6684 GB, free: 15.46 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001335/0.1678, allocations: 0.5462 MB / 0.6689 GB, free: 14.93 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00151/0.1693, allocations: 1.26 MB / 0.6701 GB, free: 13.66 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003471/0.1696, allocations: 183.2 kB / 0.6703 GB, free: 13.47 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007342/0.1704, allocations: 0.5406 MB / 0.6708 GB, free: 12.93 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007402/0.1711, allocations: 0.6494 MB / 0.6715 GB, free: 12.28 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001291/0.1712, allocations: 88 kB / 0.6716 GB, free: 12.19 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004981/0.1717, allocations: 243.9 kB / 0.6718 GB, free: 11.95 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002197/0.1719, allocations: 242.9 kB / 0.672 GB, free: 11.71 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000492/0.1724, allocations: 0.5476 MB / 0.6726 GB, free: 11.16 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001597/0.174, allocations: 1.373 MB / 0.6739 GB, free: 9.785 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.174, allocations: 3.938 kB / 0.6739 GB, free: 9.781 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.174, allocations: 4 kB / 0.6739 GB, free: 9.777 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.041e-05/0.1741, allocations: 0 / 0.6739 GB, free: 9.777 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.008215/0.1823, allocations: 2.396 MB / 0.6762 GB, free: 7.328 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.613e-05/0.1823, allocations: 12.03 kB / 0.6763 GB, free: 7.316 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.755e-05/0.1824, allocations: 29.23 kB / 0.6763 GB, free: 7.285 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001584/0.1825, allocations: 110.5 kB / 0.6764 GB, free: 7.168 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005047/0.1876, allocations: 0.7641 MB / 0.6771 GB, free: 6.402 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001459/0.189, allocations: 0.7252 MB / 0.6778 GB, free: 5.633 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003461/0.1894, allocations: 252.1 kB / 0.6781 GB, free: 5.352 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001531/0.1895, allocations: 68 kB / 0.6781 GB, free: 5.285 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002197/0.1917, allocations: 0.9559 MB / 0.6791 GB, free: 4.32 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/0.1917, allocations: 4 kB / 0.6791 GB, free: 4.316 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.991e-05/0.1918, allocations: 24 kB / 0.6791 GB, free: 4.293 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.934e-05/0.1919, allocations: 16 kB / 0.6791 GB, free: 4.277 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002212/0.1941, allocations: 0.9799 MB / 0.6801 GB, free: 3.297 MB / 478.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.006099/0.2002, allocations: 3.17 MB / 0.6832 GB, free: 15.98 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002795/0.203, allocations: 1.22 MB / 0.6844 GB, free: 14.63 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001593/0.2046, allocations: 0.628 MB / 0.685 GB, free: 14 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001077/0.2047, allocations: 12.64 kB / 0.685 GB, free: 13.99 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.57e-05/0.2047, allocations: 43.16 kB / 0.685 GB, free: 13.94 MB / 494.1 MB Notification: Performance of pre-optimization done (n=82): time 2.855e-06/0.2047, allocations: 0 / 0.685 GB, free: 13.94 MB / 494.1 MB Notification: Performance of matching and sorting (n=82): time 0.02942/0.2341, allocations: 6.736 MB / 0.6916 GB, free: 7.164 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.506e-05/0.2342, allocations: 68 kB / 0.6917 GB, free: 7.086 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001419/0.2356, allocations: 0.7987 MB / 0.6925 GB, free: 6.262 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002234/0.2358, allocations: 41.7 kB / 0.6925 GB, free: 6.215 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004137/0.2363, allocations: 433.1 kB / 0.6929 GB, free: 5.785 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004988/0.2368, allocations: 309.3 kB / 0.6932 GB, free: 5.48 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000515/0.2373, allocations: 182.9 kB / 0.6934 GB, free: 5.297 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.2374, allocations: 345.9 kB / 0.6937 GB, free: 4.953 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001639/0.2391, allocations: 0.6507 MB / 0.6943 GB, free: 4.301 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001703/0.2408, allocations: 0.7679 MB / 0.6951 GB, free: 3.504 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.304/0.5448, allocations: 4.615 MB / 0.6996 GB, free: 33.99 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.855e-06/0.5448, allocations: 0 / 0.6996 GB, free: 33.99 MB / 494.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01511/0.5599, allocations: 4.086 MB / 0.7036 GB, free: 33.9 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.041e-05/0.5599, allocations: 7.344 kB / 0.7036 GB, free: 33.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.153e-05/0.5599, allocations: 1.969 kB / 0.7036 GB, free: 33.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00732/0.5673, allocations: 1.789 MB / 0.7053 GB, free: 33.86 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009244/0.5682, allocations: 168.1 kB / 0.7055 GB, free: 33.85 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02357/0.5918, allocations: 9.329 MB / 0.7146 GB, free: 30.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001441/0.5932, allocations: 167.5 kB / 0.7148 GB, free: 30.27 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/0.5933, allocations: 37 kB / 0.7148 GB, free: 30.26 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.0004577/0.5938, allocations: 225.5 kB / 0.715 GB, free: 30.07 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000198/0.594, allocations: 105.5 kB / 0.7151 GB, free: 30.02 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01295/0.6069, allocations: 3.803 MB / 0.7188 GB, free: 29.17 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.387e-05/0.6069, allocations: 8.906 kB / 0.7189 GB, free: 29.17 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.6069, allocations: 3.188 kB / 0.7189 GB, free: 29.17 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.731e-05/0.607, allocations: 3.75 kB / 0.7189 GB, free: 29.17 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01449/0.6214, allocations: 5.321 MB / 0.7241 GB, free: 27.11 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-05/0.6215, allocations: 0 / 0.7241 GB, free: 27.11 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006226/0.6221, allocations: 84.7 kB / 0.7241 GB, free: 27.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005957/0.628, allocations: 1.747 MB / 0.7258 GB, free: 26.35 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001696/0.6282, allocations: 22.27 kB / 0.7259 GB, free: 26.33 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01752/0.6457, allocations: 8.071 MB / 0.7337 GB, free: 21.21 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.6457, allocations: 0 / 0.7337 GB, free: 21.21 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01378/0.6595, allocations: 4.686 MB / 0.7383 GB, free: 17.9 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003839/0.6599, allocations: 191.7 kB / 0.7385 GB, free: 17.71 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002952/0.6602, allocations: 15.94 kB / 0.7385 GB, free: 17.69 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001081/0.6613, allocations: 95.89 kB / 0.7386 GB, free: 17.6 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006697/0.6619, allocations: 196.7 kB / 0.7388 GB, free: 17.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001082/0.6621, allocations: 21.09 kB / 0.7388 GB, free: 17.39 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007087/0.6628, allocations: 0.5421 MB / 0.7393 GB, free: 16.83 MB / 494.1 MB Notification: Performance of sort global known variables: time 6e-08/0.6628, allocations: 0 / 0.7393 GB, free: 16.83 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001587/0.6643, allocations: 408.8 kB / 0.7397 GB, free: 16.45 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.01399/0.6783, allocations: 5.263 MB / 0.7449 GB, free: 11.16 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006313/0.6847, allocations: 2.233 MB / 0.7471 GB, free: 8.922 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.6847, allocations: 0 / 0.7471 GB, free: 8.922 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004384/0.689, allocations: 1.441 MB / 0.7485 GB, free: 7.469 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009253/0.69, allocations: 75.97 kB / 0.7485 GB, free: 7.395 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03731/0.7273, allocations: 14.13 MB / 0.7623 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009517/0.7282, allocations: 1.037 MB / 0.7633 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004189/0.7286, allocations: 70.2 kB / 0.7634 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006544/0.7293, allocations: 371.3 kB / 0.7638 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of SimCode: time 1.583e-06/0.7293, allocations: 0 / 0.7638 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06978/0.7991, allocations: 31.42 MB / 0.7944 GB, free: 8.34 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.83/16.63, allocations: 26.83 kB / 0.7945 GB, free: 8.32 MB / 0.5294 GB " [Timeout remaining time 643] (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 sys.exit(0), Time elapsed: 20.23970393597847] Failed to read output from testmodel.py, exit status != 0: 16.797196249011904 16.819833564 16.641495624 Calling exit ...