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.001714/0.001714, 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.456/1.456, allocations: 230.6 MB / 253.5 MB, free: 14.28 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.00161/0.00161, allocations: 208.5 kB / 310 MB, free: 3.047 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.4744/0.4744, allocations: 79.74 MB / 446.2 MB, free: 40.34 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.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.002404/0.002404, allocations: 81.59 kB / 0.5936 GB, free: 38.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1247, allocations: 73.29 MB / 0.6652 GB, free: 328 kB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.006656/0.1314, allocations: 5.089 MB / 0.6702 GB, free: 12.42 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004115/0.1355, allocations: 1.699 MB / 0.6718 GB, free: 10.95 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001215/0.1367, allocations: 8 kB / 0.6718 GB, free: 10.94 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006807/0.1374, allocations: 202.3 kB / 0.672 GB, free: 10.74 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00228/0.1397, allocations: 0.7201 MB / 0.6727 GB, free: 10.02 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001541/0.1412, allocations: 0.555 MB / 0.6733 GB, free: 9.473 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002144/0.1434, allocations: 1.256 MB / 0.6745 GB, free: 8.211 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004421/0.1438, allocations: 183.6 kB / 0.6747 GB, free: 8.02 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001021/0.1448, allocations: 0.5484 MB / 0.6752 GB, free: 7.469 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009063/0.1457, allocations: 0.6572 MB / 0.6758 GB, free: 6.809 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001623/0.1459, allocations: 88 kB / 0.6759 GB, free: 6.723 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005554/0.1464, allocations: 235.9 kB / 0.6762 GB, free: 6.492 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002357/0.1467, allocations: 238.9 kB / 0.6764 GB, free: 6.258 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004809/0.1472, allocations: 453.4 kB / 0.6768 GB, free: 5.812 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001949/0.1491, allocations: 1.393 MB / 0.6782 GB, free: 4.414 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.1491, allocations: 0 / 0.6782 GB, free: 4.414 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1491, allocations: 0 / 0.6782 GB, free: 4.414 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.368e-05/0.1492, allocations: 0 / 0.6782 GB, free: 4.414 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.008871/0.158, allocations: 2.323 MB / 0.6804 GB, free: 2.055 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.426e-05/0.1581, allocations: 12.03 kB / 0.6805 GB, free: 2.043 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.841e-05/0.1581, allocations: 17.31 kB / 0.6805 GB, free: 2.023 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001778/0.1583, allocations: 110.5 kB / 0.6806 GB, free: 1.906 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005172/0.1635, allocations: 0.7719 MB / 0.6813 GB, free: 1.133 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001683/0.1652, allocations: 0.653 MB / 0.682 GB, free: 464 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003359/0.1655, allocations: 307.5 kB / 0.6823 GB, free: 108 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001504/0.1657, allocations: 67.94 kB / 0.6823 GB, free: 40 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00212/0.1678, allocations: 0.9598 MB / 0.6833 GB, free: 15.07 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.1678, allocations: 0 / 0.6833 GB, free: 15.07 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.284e-05/0.1679, allocations: 32 kB / 0.6833 GB, free: 15.04 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.552e-05/0.1679, allocations: 16 kB / 0.6833 GB, free: 15.02 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002226/0.1701, allocations: 0.9682 MB / 0.6843 GB, free: 14.05 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.005282/0.1754, allocations: 2.351 MB / 0.6865 GB, free: 11.66 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001855/0.1773, allocations: 0.772 MB / 0.6873 GB, free: 10.88 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001366/0.1786, allocations: 0.6319 MB / 0.6879 GB, free: 10.24 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.67e-05/0.1787, allocations: 8.656 kB / 0.6879 GB, free: 10.23 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.551e-05/0.1788, allocations: 43.16 kB / 0.688 GB, free: 10.18 MB / 478.1 MB Notification: Performance of pre-optimization done (n=82): time 3.156e-06/0.1788, allocations: 0 / 0.688 GB, free: 10.18 MB / 478.1 MB Notification: Performance of matching and sorting (n=82): time 0.02678/0.2055, allocations: 6.655 MB / 0.6945 GB, free: 3.508 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.397e-05/0.2056, allocations: 75.92 kB / 0.6945 GB, free: 3.422 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001225/0.2068, allocations: 0.7986 MB / 0.6953 GB, free: 2.598 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002204/0.2071, allocations: 41.7 kB / 0.6954 GB, free: 2.551 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000363/0.2074, allocations: 441 kB / 0.6958 GB, free: 2.113 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004378/0.2079, allocations: 317.3 kB / 0.6961 GB, free: 1.801 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004073/0.2083, allocations: 178.9 kB / 0.6963 GB, free: 1.621 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.2084, allocations: 345.9 kB / 0.6966 GB, free: 1.277 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00151/0.2099, allocations: 0.6506 MB / 0.6972 GB, free: 0.625 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001635/0.2116, allocations: 0.7719 MB / 0.698 GB, free: 15.82 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01899/0.2306, allocations: 4.609 MB / 0.7025 GB, free: 11.18 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.558e-06/0.2306, allocations: 4 kB / 0.7025 GB, free: 11.18 MB / 494.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01356/0.2441, allocations: 4.079 MB / 0.7065 GB, free: 7.082 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.336e-05/0.2442, allocations: 8 kB / 0.7065 GB, free: 7.074 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/0.2442, allocations: 4 kB / 0.7065 GB, free: 7.07 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006475/0.2506, allocations: 1.787 MB / 0.7082 GB, free: 5.277 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008982/0.2515, allocations: 167.8 kB / 0.7084 GB, free: 5.113 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02257/0.2741, allocations: 9.029 MB / 0.7172 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001358/0.2755, allocations: 155.3 kB / 0.7173 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001488/0.2756, allocations: 43.98 kB / 0.7174 GB, free: 11.77 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.000467/0.2761, allocations: 224 kB / 0.7176 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002197/0.2763, allocations: 107.3 kB / 0.7177 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01282/0.2891, allocations: 3.801 MB / 0.7214 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.776e-05/0.2891, allocations: 11.98 kB / 0.7214 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.095e-06/0.2891, allocations: 0 / 0.7214 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.888e-05/0.2892, allocations: 3.984 kB / 0.7214 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01457/0.3037, allocations: 4.727 MB / 0.726 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-05/0.3037, allocations: 0 / 0.726 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005832/0.3043, allocations: 87.89 kB / 0.7261 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006004/0.3103, allocations: 1.738 MB / 0.7278 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001786/0.3105, allocations: 16 kB / 0.7278 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01917/0.3297, allocations: 7.779 MB / 0.7354 GB, free: 9.078 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.427e-06/0.3297, allocations: 4 kB / 0.7354 GB, free: 9.074 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01488/0.3446, allocations: 4.678 MB / 0.74 GB, free: 4.375 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004197/0.345, allocations: 119.1 kB / 0.7401 GB, free: 4.258 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001837/0.3452, allocations: 11.98 kB / 0.7401 GB, free: 4.246 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009303/0.3461, allocations: 95.84 kB / 0.7402 GB, free: 4.152 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000711/0.3468, allocations: 208.6 kB / 0.7404 GB, free: 3.945 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.297e-05/0.3469, allocations: 19.98 kB / 0.7404 GB, free: 3.926 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007734/0.3477, allocations: 0.5383 MB / 0.741 GB, free: 3.375 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.3477, allocations: 0 / 0.741 GB, free: 3.375 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001273/0.3489, allocations: 411.7 kB / 0.7414 GB, free: 2.973 MB / 0.5137 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.01513/0.3641, allocations: 5.27 MB / 0.7465 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006553/0.3706, allocations: 2.22 MB / 0.7487 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.3706, allocations: 4 kB / 0.7487 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004525/0.3751, allocations: 1.433 MB / 0.7501 GB, free: 9.984 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007504/0.3759, allocations: 88.95 kB / 0.7502 GB, free: 9.895 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03673/0.4126, allocations: 14.12 MB / 0.764 GB, free: 11.59 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004802/0.4131, allocations: 446.2 kB / 0.7644 GB, free: 11.12 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003648/0.4135, allocations: 78.3 kB / 0.7645 GB, free: 11.04 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005267/0.414, allocations: 363.3 kB / 0.7648 GB, free: 10.69 MB / 0.545 GB Notification: Performance of SimCode: time 1.212e-06/0.414, allocations: 0 / 0.7648 GB, free: 10.69 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0676/0.4816, allocations: 32.48 MB / 0.7965 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.82/17.3, allocations: 9.016 kB / 0.7965 GB, free: 10.38 MB / 0.5762 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 os._exit(0), Time elapsed: 21.26374037808273] Failed to read output from testmodel.py, exit status != 0: 17.488844258943573 17.75875148 17.606847203 Calling exit ...