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.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.001702/0.001702, allocations: 108.2 kB / 16.46 MB, free: 6.035 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.406/1.406, 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.001455/0.001455, allocations: 191.2 kB / 299.8 MB, free: 9.855 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.4492/0.4492, allocations: 79.74 MB / 434.4 MB, free: 6.23 MB / 302.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.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_OpenIPSL_Tests_Machines_PSAT_Order3test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002473/0.002473, allocations: 87.84 kB / 0.5784 GB, free: 9.988 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1258, allocations: 72.09 MB / 0.6488 GB, free: 1.805 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.006934/0.1328, allocations: 5.751 MB / 0.6544 GB, free: 12.01 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003567/0.1363, allocations: 1.759 MB / 0.6561 GB, free: 10.25 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004653/0.1368, allocations: 8 kB / 0.6561 GB, free: 10.24 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004972/0.1373, allocations: 198.3 kB / 0.6563 GB, free: 10.04 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00177/0.1391, allocations: 0.7389 MB / 0.657 GB, free: 9.305 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001295/0.1404, allocations: 0.5612 MB / 0.6576 GB, free: 8.75 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001596/0.142, allocations: 1.241 MB / 0.6588 GB, free: 7.504 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003904/0.1423, allocations: 195.1 kB / 0.659 GB, free: 7.301 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007155/0.1431, allocations: 0.5251 MB / 0.6595 GB, free: 6.773 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000785/0.1438, allocations: 0.6533 MB / 0.6601 GB, free: 6.117 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001497/0.144, allocations: 88 kB / 0.6602 GB, free: 6.031 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004593/0.1445, allocations: 231.8 kB / 0.6604 GB, free: 5.805 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002246/0.1447, allocations: 239 kB / 0.6607 GB, free: 5.57 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005164/0.1452, allocations: 0.5398 MB / 0.6612 GB, free: 5.027 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0016/0.1468, allocations: 1.361 MB / 0.6625 GB, free: 3.66 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1468, allocations: 0 / 0.6625 GB, free: 3.66 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1468, allocations: 0 / 0.6625 GB, free: 3.66 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.675e-05/0.1468, allocations: 4 kB / 0.6625 GB, free: 3.656 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.007816/0.1546, allocations: 2.379 MB / 0.6648 GB, free: 1.223 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.1547, allocations: 12.03 kB / 0.6649 GB, free: 1.211 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001518/0.1548, allocations: 114.5 kB / 0.665 GB, free: 1.09 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00508/0.1599, allocations: 0.7719 MB / 0.6657 GB, free: 324 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001258/0.1612, allocations: 0.7057 MB / 0.6664 GB, free: 15.57 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003062/0.1615, allocations: 252.2 kB / 0.6666 GB, free: 15.29 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000151/0.1616, allocations: 64 kB / 0.6667 GB, free: 15.22 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002113/0.1637, allocations: 0.9677 MB / 0.6677 GB, free: 14.25 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.156e-05/0.1638, allocations: 4 kB / 0.6677 GB, free: 14.25 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.066e-05/0.1638, allocations: 24 kB / 0.6677 GB, free: 14.22 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.563e-05/0.1639, allocations: 19.94 kB / 0.6677 GB, free: 14.2 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002218/0.1661, allocations: 0.9798 MB / 0.6687 GB, free: 13.22 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.005711/0.1718, allocations: 3.174 MB / 0.6718 GB, free: 9.895 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002246/0.174, allocations: 1.221 MB / 0.6729 GB, free: 8.551 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001461/0.1755, allocations: 0.6202 MB / 0.6736 GB, free: 7.93 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.533e-05/0.1756, allocations: 20.66 kB / 0.6736 GB, free: 7.91 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/0.1756, allocations: 39.2 kB / 0.6736 GB, free: 7.863 MB / 478.1 MB Notification: Performance of pre-optimization done (n=82): time 2.635e-06/0.1756, allocations: 4 kB / 0.6736 GB, free: 7.859 MB / 478.1 MB Notification: Performance of matching and sorting (n=82): time 0.02794/0.2036, allocations: 6.728 MB / 0.6802 GB, free: 1.094 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.25e-05/0.2036, allocations: 64 kB / 0.6802 GB, free: 1.02 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00112/0.2047, allocations: 0.8026 MB / 0.681 GB, free: 196 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001569/0.2049, allocations: 45.7 kB / 0.6811 GB, free: 144 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003835/0.2053, allocations: 441 kB / 0.6815 GB, free: 15.7 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003488/0.2056, allocations: 305.4 kB / 0.6818 GB, free: 15.4 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003968/0.206, allocations: 186.9 kB / 0.682 GB, free: 15.21 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.2062, allocations: 345.9 kB / 0.6823 GB, free: 14.87 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001482/0.2077, allocations: 0.6467 MB / 0.6829 GB, free: 14.22 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001586/0.2093, allocations: 0.7795 MB / 0.6837 GB, free: 13.41 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01808/0.2273, allocations: 4.492 MB / 0.6881 GB, free: 8.887 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.146e-06/0.2273, allocations: 4 kB / 0.6881 GB, free: 8.883 MB / 494.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01396/0.2413, allocations: 4.079 MB / 0.6921 GB, free: 4.785 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.629e-05/0.2413, allocations: 4 kB / 0.6921 GB, free: 4.781 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.2413, allocations: 4 kB / 0.6921 GB, free: 4.777 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006472/0.2478, allocations: 1.795 MB / 0.6938 GB, free: 2.977 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008436/0.2487, allocations: 171.7 kB / 0.694 GB, free: 2.809 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2437/0.4924, allocations: 9.319 MB / 0.7031 GB, free: 41.12 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001353/0.4937, allocations: 157.8 kB / 0.7032 GB, free: 41.11 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001154/0.4938, allocations: 38.17 kB / 0.7033 GB, free: 41.1 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.000388/0.4942, allocations: 228.5 kB / 0.7035 GB, free: 40.93 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001866/0.4944, allocations: 110.8 kB / 0.7036 GB, free: 40.89 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01313/0.5075, allocations: 3.795 MB / 0.7073 GB, free: 40.14 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.859e-05/0.5076, allocations: 8.25 kB / 0.7073 GB, free: 40.14 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.5076, allocations: 0.5938 kB / 0.7073 GB, free: 40.14 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.056e-05/0.5076, allocations: 9.969 kB / 0.7073 GB, free: 40.14 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01453/0.5221, allocations: 5.324 MB / 0.7125 GB, free: 38.36 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.415e-05/0.5221, allocations: 1.156 kB / 0.7125 GB, free: 38.36 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005269/0.5227, allocations: 86.22 kB / 0.7126 GB, free: 38.35 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005588/0.5283, allocations: 1.737 MB / 0.7143 GB, free: 38.05 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001462/0.5284, allocations: 15.28 kB / 0.7143 GB, free: 38.04 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0166/0.545, allocations: 8.085 MB / 0.7222 GB, free: 34.09 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.545, allocations: 1.375 kB / 0.7222 GB, free: 34.09 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01319/0.5582, allocations: 4.688 MB / 0.7268 GB, free: 32.06 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002612/0.5585, allocations: 191.2 kB / 0.727 GB, free: 31.89 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001443/0.5586, allocations: 11.91 kB / 0.727 GB, free: 31.89 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008626/0.5595, allocations: 91.17 kB / 0.7271 GB, free: 31.84 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005229/0.56, allocations: 199.4 kB / 0.7273 GB, free: 31.73 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.962e-05/0.56, allocations: 19.66 kB / 0.7273 GB, free: 31.72 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005245/0.5606, allocations: 0.546 MB / 0.7278 GB, free: 31.39 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5606, allocations: 2.438 kB / 0.7278 GB, free: 31.39 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001035/0.5616, allocations: 407.6 kB / 0.7282 GB, free: 31.35 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.01291/0.5745, allocations: 5.249 MB / 0.7333 GB, free: 27.94 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005616/0.5801, allocations: 2.233 MB / 0.7355 GB, free: 25.71 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.5801, allocations: 0 / 0.7355 GB, free: 25.71 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003844/0.584, allocations: 1.441 MB / 0.7369 GB, free: 24.25 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006753/0.5847, allocations: 76.75 kB / 0.737 GB, free: 24.18 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03044/0.6151, allocations: 14.11 MB / 0.7508 GB, free: 9.906 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003633/0.6155, allocations: 1.029 MB / 0.7518 GB, free: 8.852 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003305/0.6158, allocations: 76.48 kB / 0.7519 GB, free: 8.777 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003738/0.6162, allocations: 375.3 kB / 0.7522 GB, free: 8.41 MB / 494.1 MB Notification: Performance of SimCode: time 1.422e-06/0.6162, allocations: 3.391 kB / 0.7522 GB, free: 8.41 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06849/0.6847, allocations: 31.34 MB / 0.7828 GB, free: 9.184 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.8/16.49, allocations: 11.05 kB / 0.7828 GB, free: 9.176 MB / 0.5137 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: 36.5670749717392] Failed to read output from testmodel.py, exit status != 0: 16.593475416768342 16.607964291 16.458229152 Calling exit ...