Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08319/0.08319, allocations: 12.37 MB / 29.42 MB, free: 300 kB / 19.63 MB " [Timeout remaining time 180] 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.001302/0.001302, allocations: 107.2 kB / 35.12 MB, free: 1.672 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.424/1.424, allocations: 207.6 MB / 248.3 MB, free: 11.53 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.001724/0.001724, allocations: 208.5 kB / 303.2 MB, free: 6.195 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4653/0.4653, allocations: 79.71 MB / 437.6 MB, free: 4.613 MB / 302.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 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.003934/0.003934, allocations: 145.2 kB / 0.5826 GB, free: 8.121 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.153, allocations: 71.92 MB / 0.6528 GB, free: 108 kB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.007216/0.1602, allocations: 5.83 MB / 0.6585 GB, free: 10.24 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004033/0.1642, allocations: 1.717 MB / 0.6602 GB, free: 8.516 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006438/0.1648, allocations: 8 kB / 0.6602 GB, free: 8.508 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005317/0.1654, allocations: 206.2 kB / 0.6604 GB, free: 8.305 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001988/0.1674, allocations: 0.7491 MB / 0.6611 GB, free: 7.555 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001254/0.1686, allocations: 0.549 MB / 0.6617 GB, free: 7.012 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001554/0.1702, allocations: 1.253 MB / 0.6629 GB, free: 5.754 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003718/0.1705, allocations: 191.2 kB / 0.6631 GB, free: 5.551 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006369/0.1712, allocations: 0.529 MB / 0.6636 GB, free: 5.02 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007495/0.1719, allocations: 0.6533 MB / 0.6642 GB, free: 4.363 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001269/0.1721, allocations: 88 kB / 0.6643 GB, free: 4.277 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004246/0.1725, allocations: 227.9 kB / 0.6645 GB, free: 4.055 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002153/0.1727, allocations: 250.8 kB / 0.6648 GB, free: 3.809 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004813/0.1732, allocations: 0.5397 MB / 0.6653 GB, free: 3.266 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00165/0.1748, allocations: 1.357 MB / 0.6666 GB, free: 1.902 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1748, allocations: 0 / 0.6666 GB, free: 1.902 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1748, allocations: 0 / 0.6666 GB, free: 1.902 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.733e-05/0.1749, allocations: 0 / 0.6666 GB, free: 1.902 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: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.008028/0.1829, allocations: 2.383 MB / 0.6689 GB, free: 15.46 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.344e-05/0.1829, allocations: 11.98 kB / 0.669 GB, free: 15.45 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.355e-05/0.183, allocations: 21.25 kB / 0.669 GB, free: 15.43 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001654/0.1831, allocations: 118.5 kB / 0.6691 GB, free: 15.3 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005092/0.1882, allocations: 0.768 MB / 0.6698 GB, free: 14.54 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001544/0.1898, allocations: 0.7212 MB / 0.6705 GB, free: 13.77 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003314/0.1901, allocations: 248.2 kB / 0.6708 GB, free: 13.49 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001575/0.1903, allocations: 76 kB / 0.6709 GB, free: 13.42 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002209/0.1925, allocations: 0.9598 MB / 0.6718 GB, free: 12.45 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/0.1925, allocations: 0 / 0.6718 GB, free: 12.45 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.108e-05/0.1926, allocations: 28 kB / 0.6718 GB, free: 12.43 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.681e-05/0.1926, allocations: 16 kB / 0.6718 GB, free: 12.41 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002221/0.1948, allocations: 0.976 MB / 0.6728 GB, free: 11.43 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.005763/0.2006, allocations: 3.163 MB / 0.6759 GB, free: 8.117 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002151/0.2027, allocations: 1.217 MB / 0.6771 GB, free: 6.781 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001463/0.2042, allocations: 0.6374 MB / 0.6777 GB, free: 6.145 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001053/0.2043, allocations: 16.64 kB / 0.6777 GB, free: 6.129 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/0.2043, allocations: 39.22 kB / 0.6777 GB, free: 6.082 MB / 478.1 MB Notification: Performance of pre-optimization done (n=82): time 2.946e-06/0.2043, allocations: 0 / 0.6777 GB, free: 6.082 MB / 478.1 MB Notification: Performance of matching and sorting (n=82): time 0.02874/0.2331, allocations: 6.736 MB / 0.6843 GB, free: 15.3 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.579e-05/0.2331, allocations: 64 kB / 0.6844 GB, free: 15.23 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001219/0.2344, allocations: 0.7948 MB / 0.6852 GB, free: 14.41 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001963/0.2346, allocations: 45.69 kB / 0.6852 GB, free: 14.36 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003649/0.2349, allocations: 433 kB / 0.6856 GB, free: 13.93 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003438/0.2353, allocations: 313.3 kB / 0.6859 GB, free: 13.62 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000371/0.2356, allocations: 178.9 kB / 0.6861 GB, free: 13.44 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.2358, allocations: 341.9 kB / 0.6864 GB, free: 13.1 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00155/0.2373, allocations: 0.6506 MB / 0.687 GB, free: 12.45 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001669/0.239, allocations: 0.7757 MB / 0.6878 GB, free: 11.64 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01889/0.2579, allocations: 4.504 MB / 0.6922 GB, free: 7.105 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.2579, allocations: 0 / 0.6922 GB, free: 7.105 MB / 494.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01434/0.2723, allocations: 4.087 MB / 0.6962 GB, free: 3.008 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.915e-05/0.2723, allocations: 8 kB / 0.6962 GB, free: 3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.2723, allocations: 0 / 0.6962 GB, free: 3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006973/0.2793, allocations: 1.792 MB / 0.6979 GB, free: 1.203 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009383/0.2802, allocations: 163.8 kB / 0.6981 GB, free: 1.043 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2751/0.5553, allocations: 9.319 MB / 0.7072 GB, free: 38.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001402/0.5567, allocations: 154.9 kB / 0.7073 GB, free: 38.77 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001083/0.5568, allocations: 37.3 kB / 0.7074 GB, free: 38.76 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.0003984/0.5572, allocations: 225.2 kB / 0.7076 GB, free: 38.58 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001962/0.5574, allocations: 104.7 kB / 0.7077 GB, free: 38.53 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01421/0.5716, allocations: 3.802 MB / 0.7114 GB, free: 37.76 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.27e-05/0.5717, allocations: 8.594 kB / 0.7114 GB, free: 37.76 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.5717, allocations: 0.75 kB / 0.7114 GB, free: 37.76 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.132e-05/0.5717, allocations: 9.859 kB / 0.7114 GB, free: 37.76 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01518/0.5869, allocations: 5.318 MB / 0.7166 GB, free: 35.96 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.396e-05/0.5869, allocations: 5.094 kB / 0.7166 GB, free: 35.96 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005545/0.5874, allocations: 87.59 kB / 0.7167 GB, free: 35.95 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006024/0.5935, allocations: 1.751 MB / 0.7184 GB, free: 35.65 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001873/0.5936, allocations: 19.97 kB / 0.7184 GB, free: 35.63 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01854/0.6122, allocations: 8.063 MB / 0.7263 GB, free: 31.7 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.6122, allocations: 0 / 0.7263 GB, free: 31.7 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01376/0.6259, allocations: 4.689 MB / 0.7309 GB, free: 29.37 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003511/0.6263, allocations: 191.1 kB / 0.7311 GB, free: 29.2 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001331/0.6264, allocations: 11.94 kB / 0.7311 GB, free: 29.19 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008763/0.6273, allocations: 95.05 kB / 0.7312 GB, free: 29.14 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000576/0.6279, allocations: 203.4 kB / 0.7314 GB, free: 29.02 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.245e-05/0.6279, allocations: 16.91 kB / 0.7314 GB, free: 29.02 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005736/0.6285, allocations: 0.5464 MB / 0.7319 GB, free: 28.69 MB / 494.1 MB Notification: Performance of sort global known variables: time 6e-08/0.6285, allocations: 0 / 0.7319 GB, free: 28.69 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0013/0.6298, allocations: 410.9 kB / 0.7323 GB, free: 28.64 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.01379/0.6436, allocations: 5.254 MB / 0.7374 GB, free: 24.89 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006089/0.6497, allocations: 2.218 MB / 0.7396 GB, free: 22.66 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.6497, allocations: 0 / 0.7396 GB, free: 22.66 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004351/0.654, allocations: 1.452 MB / 0.741 GB, free: 21.21 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007821/0.6548, allocations: 83.28 kB / 0.7411 GB, free: 21.12 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03254/0.6874, allocations: 14.12 MB / 0.7549 GB, free: 6.848 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004179/0.6878, allocations: 1.029 MB / 0.7559 GB, free: 5.793 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000372/0.6882, allocations: 82.17 kB / 0.756 GB, free: 5.711 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004333/0.6886, allocations: 363.3 kB / 0.7563 GB, free: 5.355 MB / 494.1 MB Notification: Performance of SimCode: time 9.22e-07/0.6886, allocations: 0 / 0.7563 GB, free: 5.355 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06451/0.7531, allocations: 31.39 MB / 0.787 GB, free: 6.031 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 16/16.75, allocations: 15.19 kB / 0.787 GB, free: 6.02 MB / 0.5137 GB " [Timeout remaining time 643] (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.43863930599764] Failed to read output from testmodel.py, exit status != 0: 16.913032448035665 16.934053771 16.755239298 Calling exit ...