Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.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.001276/0.001276, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.43/1.43, allocations: 230.6 MB / 253.5 MB, free: 14.29 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.001515/0.001515, allocations: 204.5 kB / 310 MB, free: 3.102 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.4915/0.4915, allocations: 79.75 MB / 446.2 MB, free: 40.36 MB / 350.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.Order4test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2",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.002417/0.002417, allocations: 79.66 kB / 0.5936 GB, free: 38.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.107, allocations: 73.3 MB / 0.6652 GB, free: 336 kB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.00648/0.1134, allocations: 5.127 MB / 0.6702 GB, free: 12.4 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004002/0.1174, allocations: 1.694 MB / 0.6719 GB, free: 10.92 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001066/0.1185, allocations: 16 kB / 0.6719 GB, free: 10.9 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006963/0.1192, allocations: 202.3 kB / 0.6721 GB, free: 10.7 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002245/0.1214, allocations: 0.7378 MB / 0.6728 GB, free: 9.965 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation Generator.xq <> Generator.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001473/0.1229, allocations: 0.5449 MB / 0.6733 GB, free: 9.426 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001695/0.1246, allocations: 1.268 MB / 0.6746 GB, free: 8.152 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003799/0.125, allocations: 183.6 kB / 0.6747 GB, free: 7.961 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008117/0.1258, allocations: 0.5446 MB / 0.6753 GB, free: 7.414 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008197/0.1266, allocations: 0.6494 MB / 0.6759 GB, free: 6.762 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001651/0.1268, allocations: 88 kB / 0.676 GB, free: 6.676 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005107/0.1273, allocations: 239.9 kB / 0.6762 GB, free: 6.441 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002295/0.1275, allocations: 238.9 kB / 0.6764 GB, free: 6.207 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004411/0.128, allocations: 453.5 kB / 0.6769 GB, free: 5.762 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00166/0.1296, allocations: 1.389 MB / 0.6782 GB, free: 4.367 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.1296, allocations: 3.938 kB / 0.6782 GB, free: 4.363 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1296, allocations: 0 / 0.6782 GB, free: 4.363 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.76e-05/0.1297, allocations: 0 / 0.6782 GB, free: 4.363 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.007859/0.1375, allocations: 2.331 MB / 0.6805 GB, free: 1.996 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.534e-05/0.1376, allocations: 8.031 kB / 0.6805 GB, free: 1.988 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.815e-05/0.1376, allocations: 17.31 kB / 0.6805 GB, free: 1.969 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002195/0.1378, allocations: 118.5 kB / 0.6806 GB, free: 1.844 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008885/0.1467, allocations: 0.7641 MB / 0.6814 GB, free: 1.078 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002081/0.1488, allocations: 0.6414 MB / 0.682 GB, free: 420 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005053/0.1493, allocations: 307.5 kB / 0.6823 GB, free: 64 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002566/0.1496, allocations: 68 kB / 0.6824 GB, free: 15.99 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003407/0.153, allocations: 0.9675 MB / 0.6833 GB, free: 15.02 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.365e-05/0.153, allocations: 4 kB / 0.6833 GB, free: 15.02 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001438/0.1531, allocations: 24 kB / 0.6833 GB, free: 14.99 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.297e-05/0.1532, allocations: 16 kB / 0.6834 GB, free: 14.98 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00349/0.1566, allocations: 0.976 MB / 0.6843 GB, free: 14 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.008212/0.1649, allocations: 2.359 MB / 0.6866 GB, free: 11.59 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002825/0.1677, allocations: 0.7774 MB / 0.6874 GB, free: 10.8 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002232/0.1699, allocations: 0.6329 MB / 0.688 GB, free: 10.17 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001294/0.17, allocations: 9 kB / 0.688 GB, free: 10.16 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.519e-05/0.1701, allocations: 43.56 kB / 0.688 GB, free: 10.11 MB / 478.1 MB Notification: Performance of pre-optimization done (n=83): time 3.888e-06/0.1701, allocations: 3.938 kB / 0.688 GB, free: 10.1 MB / 478.1 MB Notification: Performance of matching and sorting (n=83): time 0.03396/0.204, allocations: 6.377 MB / 0.6943 GB, free: 3.715 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.905e-05/0.2041, allocations: 68.28 kB / 0.6943 GB, free: 3.633 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001365/0.2055, allocations: 0.7907 MB / 0.6951 GB, free: 2.832 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002102/0.2057, allocations: 37.7 kB / 0.6951 GB, free: 2.789 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004412/0.2061, allocations: 441 kB / 0.6956 GB, free: 2.352 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004706/0.2066, allocations: 313.3 kB / 0.6959 GB, free: 2.043 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005353/0.2071, allocations: 190.9 kB / 0.696 GB, free: 1.852 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002061/0.2073, allocations: 349.9 kB / 0.6964 GB, free: 1.504 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001623/0.209, allocations: 0.6624 MB / 0.697 GB, free: 0.8398 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00166/0.2106, allocations: 0.7835 MB / 0.6978 GB, free: 28 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0203/0.2309, allocations: 4.633 MB / 0.7023 GB, free: 11.36 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.957e-06/0.2309, allocations: 0 / 0.7023 GB, free: 11.36 MB / 494.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01423/0.2452, allocations: 4.044 MB / 0.7063 GB, free: 7.301 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.207e-05/0.2452, allocations: 8 kB / 0.7063 GB, free: 7.293 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/0.2452, allocations: 7.938 kB / 0.7063 GB, free: 7.285 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006391/0.2516, allocations: 1.734 MB / 0.708 GB, free: 5.547 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/0.2526, allocations: 183.7 kB / 0.7082 GB, free: 5.367 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02224/0.2749, allocations: 8.766 MB / 0.7167 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001394/0.2762, allocations: 159.2 kB / 0.7169 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/0.2764, allocations: 43.92 kB / 0.7169 GB, free: 12.28 MB / 0.4981 GB Warning: Assuming fixed start value for the following 1 variables: Generator.e1q:VARIABLE(start = Generator.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: 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 (101): * Single equations (assignments): 100 * 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 {(24,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0004691/0.2768, allocations: 231.7 kB / 0.7171 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002108/0.277, allocations: 103.3 kB / 0.7172 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.013/0.29, allocations: 3.79 MB / 0.7209 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.521e-05/0.29, allocations: 8 kB / 0.7209 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.2901, allocations: 0 / 0.7209 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.071e-05/0.2901, allocations: 3.984 kB / 0.7209 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01479/0.3049, allocations: 4.755 MB / 0.7256 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.889e-06/0.3049, allocations: 0 / 0.7256 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005701/0.3054, allocations: 87.89 kB / 0.7257 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006086/0.3115, allocations: 1.737 MB / 0.7274 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000119/0.3116, allocations: 16 kB / 0.7274 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0189/0.3305, allocations: 7.77 MB / 0.735 GB, free: 9.578 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3305, allocations: 0 / 0.735 GB, free: 9.578 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01459/0.3451, allocations: 4.705 MB / 0.7396 GB, free: 4.848 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003549/0.3455, allocations: 119.1 kB / 0.7397 GB, free: 4.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001703/0.3457, allocations: 23.92 kB / 0.7397 GB, free: 4.707 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009203/0.3466, allocations: 87.84 kB / 0.7398 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007104/0.3473, allocations: 212.6 kB / 0.74 GB, free: 4.414 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.982e-05/0.3474, allocations: 28 kB / 0.74 GB, free: 4.387 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007556/0.3481, allocations: 0.5264 MB / 0.7405 GB, free: 3.863 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.3481, allocations: 0 / 0.7405 GB, free: 3.863 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00133/0.3495, allocations: 411.7 kB / 0.7409 GB, free: 3.461 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Generator.delta,Generator.w,Generator.e1q,Generator.e1d) * 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 (50): * Single equations (assignments): 49 * 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.01514/0.3646, allocations: 5.288 MB / 0.7461 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006655/0.3713, allocations: 2.191 MB / 0.7482 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.3713, allocations: 0 / 0.7482 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004814/0.3761, allocations: 1.449 MB / 0.7496 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009154/0.377, allocations: 85.16 kB / 0.7497 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0378/0.4148, allocations: 14.12 MB / 0.7635 GB, free: 12.08 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005525/0.4153, allocations: 446.4 kB / 0.7639 GB, free: 11.61 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004077/0.4158, allocations: 82.3 kB / 0.764 GB, free: 11.53 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005684/0.4163, allocations: 375.3 kB / 0.7644 GB, free: 11.16 MB / 0.545 GB Notification: Performance of SimCode: time 2.003e-06/0.4163, allocations: 4 kB / 0.7644 GB, free: 11.16 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1037/0.5201, allocations: 32.4 MB / 0.796 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.72/17.24, allocations: 6.562 kB / 0.796 GB, free: 10.95 MB / 0.5762 GB " [Timeout remaining time 643] (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.060871524037793] Failed to read output from testmodel.py, exit status != 0: 17.435669629019685 17.698033061 17.565292457 Calling exit ...