Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 105.6 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 225.6 MB / 244.8 MB, free: 14.18 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 195.4 kB / 299.8 MB, free: 9.836 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5416/0.5416, allocations: 99.65 MB / 454.4 MB, free: 5.438 MB / 318.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002311/0.002311, allocations: 79.86 kB / 0.6073 GB, free: 9.539 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1488, allocations: 76.94 MB / 0.6825 GB, free: 12.44 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.006689/0.1555, allocations: 5.787 MB / 0.6881 GB, free: 6.613 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003494/0.159, allocations: 1.755 MB / 0.6898 GB, free: 4.855 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005009/0.1595, allocations: 12 kB / 0.6898 GB, free: 4.844 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004944/0.16, allocations: 202.2 kB / 0.69 GB, free: 4.645 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001717/0.1617, allocations: 0.7302 MB / 0.6908 GB, free: 3.91 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001254/0.163, allocations: 0.5577 MB / 0.6913 GB, free: 3.359 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001472/0.1644, allocations: 1.253 MB / 0.6925 GB, free: 2.102 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003352/0.1648, allocations: 187.1 kB / 0.6927 GB, free: 1.906 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006424/0.1654, allocations: 0.5212 MB / 0.6932 GB, free: 1.383 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000751/0.1662, allocations: 0.6533 MB / 0.6938 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001412/0.1663, allocations: 91.98 kB / 0.6939 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004391/0.1667, allocations: 227.9 kB / 0.6942 GB, free: 424 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002181/0.167, allocations: 246.8 kB / 0.6944 GB, free: 176 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2859/0.4529, allocations: 0.5384 MB / 0.6949 GB, free: 9.77 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001704/0.4546, allocations: 1.354 MB / 0.6962 GB, free: 9.684 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.4546, allocations: 0.5 kB / 0.6962 GB, free: 9.684 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.4546, allocations: 1.344 kB / 0.6962 GB, free: 9.684 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.747e-05/0.4546, allocations: 0 / 0.6962 GB, free: 9.684 MB / 494.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.007258/0.4619, allocations: 2.386 MB / 0.6986 GB, free: 8.852 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.4619, allocations: 8.281 kB / 0.6986 GB, free: 8.852 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001229/0.4621, allocations: 114.8 kB / 0.6987 GB, free: 8.812 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004912/0.467, allocations: 0.7694 MB / 0.6994 GB, free: 8.738 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001307/0.4683, allocations: 0.7269 MB / 0.7001 GB, free: 8.391 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000235/0.4685, allocations: 248.8 kB / 0.7004 GB, free: 8.203 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000131/0.4687, allocations: 69.19 kB / 0.7005 GB, free: 8.203 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001943/0.4706, allocations: 0.9586 MB / 0.7014 GB, free: 8.137 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.192e-05/0.4706, allocations: 0 / 0.7014 GB, free: 8.137 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.401e-05/0.4707, allocations: 25.31 kB / 0.7014 GB, free: 8.137 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.212e-05/0.4707, allocations: 17.12 kB / 0.7014 GB, free: 8.137 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001936/0.4726, allocations: 0.9782 MB / 0.7024 GB, free: 8.125 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.005149/0.4778, allocations: 3.159 MB / 0.7055 GB, free: 7.121 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001702/0.4795, allocations: 1.223 MB / 0.7067 GB, free: 6.273 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001165/0.4807, allocations: 0.6268 MB / 0.7073 GB, free: 6.051 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.576e-05/0.4807, allocations: 12.97 kB / 0.7073 GB, free: 6.051 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/0.4808, allocations: 51.48 kB / 0.7073 GB, free: 6 MB / 494.1 MB Notification: Performance of pre-optimization done (n=82): time 2.545e-06/0.4808, allocations: 0 / 0.7073 GB, free: 6 MB / 494.1 MB Notification: Performance of matching and sorting (n=82): time 0.02788/0.5086, allocations: 6.733 MB / 0.7139 GB, free: 4.855 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/0.5087, allocations: 60.44 kB / 0.714 GB, free: 4.793 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001507/0.5102, allocations: 0.8056 MB / 0.7148 GB, free: 4.434 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002265/0.5104, allocations: 40.45 kB / 0.7148 GB, free: 4.391 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003048/0.5107, allocations: 431.8 kB / 0.7152 GB, free: 4.051 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003553/0.5111, allocations: 311.4 kB / 0.7155 GB, free: 3.812 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003911/0.5115, allocations: 185.3 kB / 0.7157 GB, free: 3.719 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.099e-05/0.5115, allocations: 345.4 kB / 0.716 GB, free: 3.398 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001353/0.5129, allocations: 0.6507 MB / 0.7166 GB, free: 3.164 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001381/0.5143, allocations: 0.7692 MB / 0.7174 GB, free: 2.824 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01656/0.5308, allocations: 4.491 MB / 0.7218 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.114e-05/0.5309, allocations: 5.312 kB / 0.7218 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01336/0.5442, allocations: 4.082 MB / 0.7258 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.06e-05/0.5442, allocations: 6.312 kB / 0.7258 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/0.5443, allocations: 2.188 kB / 0.7258 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006306/0.5506, allocations: 1.796 MB / 0.7275 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009333/0.5515, allocations: 172.9 kB / 0.7277 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0224/0.5739, allocations: 9.33 MB / 0.7368 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001456/0.5754, allocations: 158.9 kB / 0.737 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001716/0.5755, allocations: 38.23 kB / 0.737 GB, free: 7.961 MB / 0.4981 GB 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.0005536/0.5761, allocations: 230.2 kB / 0.7372 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002826/0.5764, allocations: 108.5 kB / 0.7373 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01258/0.5889, allocations: 3.792 MB / 0.741 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.598e-05/0.589, allocations: 16.83 kB / 0.741 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.589, allocations: 0.875 kB / 0.741 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.64e-05/0.589, allocations: 3.984 kB / 0.741 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01504/0.604, allocations: 5.32 MB / 0.7462 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.266e-06/0.604, allocations: 0 / 0.7462 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005322/0.6046, allocations: 93.48 kB / 0.7463 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005883/0.6104, allocations: 1.744 MB / 0.748 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001427/0.6106, allocations: 12.88 kB / 0.748 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01965/0.6302, allocations: 8.075 MB / 0.7559 GB, free: 5.43 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.6302, allocations: 0 / 0.7559 GB, free: 5.43 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01499/0.6452, allocations: 4.685 MB / 0.7605 GB, free: 0.7578 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004409/0.6457, allocations: 193.1 kB / 0.7607 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002455/0.6459, allocations: 16 kB / 0.7607 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001025/0.6469, allocations: 91.89 kB / 0.7608 GB, free: 456 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006471/0.6476, allocations: 200.7 kB / 0.761 GB, free: 256 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.947e-05/0.6477, allocations: 24 kB / 0.761 GB, free: 232 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007843/0.6484, allocations: 0.5421 MB / 0.7615 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6484, allocations: 0 / 0.7615 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001293/0.6497, allocations: 407.7 kB / 0.7619 GB, free: 15.27 MB / 0.5294 GB 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.01491/0.6647, allocations: 5.254 MB / 0.7671 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006746/0.6714, allocations: 2.226 MB / 0.7692 GB, free: 7.809 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.6714, allocations: 4.188 kB / 0.7692 GB, free: 7.805 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004624/0.676, allocations: 1.435 MB / 0.7706 GB, free: 6.371 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001056/0.6771, allocations: 83.28 kB / 0.7707 GB, free: 6.285 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03727/0.7144, allocations: 14.12 MB / 0.7845 GB, free: 8.113 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007243/0.7151, allocations: 1.029 MB / 0.7855 GB, free: 7.059 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003479/0.7154, allocations: 80.53 kB / 0.7856 GB, free: 6.98 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005313/0.716, allocations: 367.3 kB / 0.7859 GB, free: 6.621 MB / 0.545 GB Notification: Performance of SimCode: time 1.062e-06/0.716, allocations: 3.938 kB / 0.7859 GB, free: 6.617 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07434/0.7903, allocations: 31.36 MB / 0.8166 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.54/16.33, allocations: 4.594 kB / 0.8166 GB, free: 7.414 MB / 0.5762 GB " [Timeout remaining time 644] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 36.20845677796751] Failed to read output from testmodel.py, exit status != 0: 16.434070179238915 16.448968598 15.991297698 Calling exit ...