Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07929/0.07929, allocations: 12.77 MB / 29.12 MB, free: 220 kB / 19.63 MB " [Timeout remaining time 180] 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.001283/0.001283, allocations: 115.5 kB / 34.91 MB, free: 1.203 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.365/1.365, allocations: 207.6 MB / 248.2 MB, free: 10.21 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.001621/0.001621, allocations: 192.4 kB / 303.1 MB, free: 8.273 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.4336/0.4336, allocations: 79.71 MB / 437.6 MB, free: 4.621 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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-master/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.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.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003951/0.003951, allocations: 143.8 kB / 0.5828 GB, free: 7.711 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1269, allocations: 72 MB / 0.6531 GB, free: 15.6 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.006718/0.1337, allocations: 5.759 MB / 0.6587 GB, free: 9.812 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003319/0.137, allocations: 1.705 MB / 0.6604 GB, free: 8.098 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004496/0.1374, allocations: 8 kB / 0.6604 GB, free: 8.09 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004818/0.1379, allocations: 202.3 kB / 0.6606 GB, free: 7.891 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001625/0.1395, allocations: 0.7352 MB / 0.6613 GB, free: 7.152 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00117/0.1407, allocations: 0.557 MB / 0.6618 GB, free: 6.605 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001405/0.1421, allocations: 1.233 MB / 0.6631 GB, free: 5.367 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003358/0.1425, allocations: 183.1 kB / 0.6632 GB, free: 5.176 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006355/0.1431, allocations: 0.5096 MB / 0.6637 GB, free: 4.664 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000712/0.1438, allocations: 0.6455 MB / 0.6644 GB, free: 4.016 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001309/0.1439, allocations: 88 kB / 0.6644 GB, free: 3.93 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004113/0.1443, allocations: 227.9 kB / 0.6647 GB, free: 3.707 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002007/0.1445, allocations: 235 kB / 0.6649 GB, free: 3.477 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004538/0.145, allocations: 0.5398 MB / 0.6654 GB, free: 2.934 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001463/0.1465, allocations: 1.342 MB / 0.6667 GB, free: 1.586 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.1465, allocations: 4 kB / 0.6667 GB, free: 1.582 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1465, allocations: 0 / 0.6667 GB, free: 1.582 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.886e-05/0.1465, allocations: 0 / 0.6667 GB, free: 1.582 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.007484/0.154, allocations: 2.359 MB / 0.669 GB, free: 15.17 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.154, allocations: 15.98 kB / 0.669 GB, free: 15.15 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001528/0.1542, allocations: 114.5 kB / 0.6692 GB, free: 15.03 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004998/0.1592, allocations: 0.7641 MB / 0.6699 GB, free: 14.27 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001218/0.1604, allocations: 0.7096 MB / 0.6706 GB, free: 13.51 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003014/0.1607, allocations: 255.5 kB / 0.6708 GB, free: 13.22 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001421/0.1608, allocations: 68 kB / 0.6709 GB, free: 13.16 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002012/0.1628, allocations: 0.9433 MB / 0.6718 GB, free: 12.21 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.1629, allocations: 0 / 0.6718 GB, free: 12.21 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.182e-05/0.1629, allocations: 27.98 kB / 0.6718 GB, free: 12.18 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.741e-05/0.163, allocations: 19.94 kB / 0.6719 GB, free: 12.16 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002142/0.1651, allocations: 0.9694 MB / 0.6728 GB, free: 11.19 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.005554/0.1706, allocations: 3.144 MB / 0.6759 GB, free: 7.895 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002062/0.1727, allocations: 1.232 MB / 0.6771 GB, free: 6.547 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001365/0.1741, allocations: 0.624 MB / 0.6777 GB, free: 5.922 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.598e-05/0.1742, allocations: 8.656 kB / 0.6777 GB, free: 5.91 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.639e-05/0.1742, allocations: 43.22 kB / 0.6777 GB, free: 5.859 MB / 478.1 MB Notification: Performance of pre-optimization done (n=81): time 2.735e-06/0.1742, allocations: 0 / 0.6777 GB, free: 5.859 MB / 478.1 MB Notification: Performance of matching and sorting (n=81): time 0.02786/0.2021, allocations: 6.67 MB / 0.6843 GB, free: 15.15 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.74e-05/0.2021, allocations: 68 kB / 0.6843 GB, free: 15.07 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001105/0.2032, allocations: 0.7866 MB / 0.6851 GB, free: 14.28 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001784/0.2034, allocations: 45.64 kB / 0.6851 GB, free: 14.23 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003493/0.2038, allocations: 433.1 kB / 0.6855 GB, free: 13.8 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000338/0.2041, allocations: 305.4 kB / 0.6858 GB, free: 13.5 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003571/0.2044, allocations: 174.6 kB / 0.686 GB, free: 13.32 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.2046, allocations: 341.9 kB / 0.6863 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001495/0.2061, allocations: 0.6464 MB / 0.687 GB, free: 12.33 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001561/0.2077, allocations: 0.7549 MB / 0.6877 GB, free: 11.54 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01838/0.226, allocations: 4.453 MB / 0.692 GB, free: 7.059 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/0.226, allocations: 0 / 0.692 GB, free: 7.059 MB / 494.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01373/0.2398, allocations: 4.009 MB / 0.696 GB, free: 3.039 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.113e-05/0.2398, allocations: 8 kB / 0.696 GB, free: 3.031 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.2398, allocations: 3.984 kB / 0.696 GB, free: 3.027 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00658/0.2464, allocations: 1.858 MB / 0.6978 GB, free: 1.164 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008482/0.2472, allocations: 171.7 kB / 0.698 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2446/0.4918, allocations: 9.078 MB / 0.7068 GB, free: 38.74 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001313/0.4931, allocations: 152.5 kB / 0.707 GB, free: 38.71 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001115/0.4932, allocations: 38.22 kB / 0.707 GB, free: 38.71 MB / 494.1 MB Warning: Assuming fixed start value for the following 2 variables: order21.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order21.delta:VARIABLE(flow=false start = order21.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 (92): * Single equations (assignments): 91 * 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 prepare postOptimizeDAE: time 0.0003924/0.4936, allocations: 232.3 kB / 0.7072 GB, free: 38.53 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001881/0.4938, allocations: 104.3 kB / 0.7073 GB, free: 38.47 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01312/0.5069, allocations: 3.785 MB / 0.711 GB, free: 37.72 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-05/0.507, allocations: 12.34 kB / 0.711 GB, free: 37.72 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.507, allocations: 0 / 0.711 GB, free: 37.72 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.955e-05/0.507, allocations: 5.359 kB / 0.711 GB, free: 37.72 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01367/0.5207, allocations: 5.289 MB / 0.7162 GB, free: 35.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.908e-06/0.5207, allocations: 0 / 0.7162 GB, free: 35.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005013/0.5212, allocations: 90.92 kB / 0.7163 GB, free: 35.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005547/0.5267, allocations: 1.736 MB / 0.718 GB, free: 35.61 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001359/0.5268, allocations: 12.12 kB / 0.718 GB, free: 35.61 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01685/0.5437, allocations: 8.096 MB / 0.7259 GB, free: 31.64 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.5437, allocations: 5.312 kB / 0.7259 GB, free: 31.64 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01308/0.5568, allocations: 4.662 MB / 0.7305 GB, free: 29.42 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003009/0.5571, allocations: 186 kB / 0.7306 GB, free: 29.25 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001815/0.5573, allocations: 15.91 kB / 0.7307 GB, free: 29.24 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009118/0.5582, allocations: 102.7 kB / 0.7307 GB, free: 29.19 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000545/0.5587, allocations: 199.3 kB / 0.7309 GB, free: 29.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.64e-05/0.5588, allocations: 16.19 kB / 0.731 GB, free: 29.07 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005199/0.5593, allocations: 0.5307 MB / 0.7315 GB, free: 28.77 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5593, allocations: 0 / 0.7315 GB, free: 28.77 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001102/0.5604, allocations: 397.7 kB / 0.7319 GB, free: 28.73 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order21.delta,order21.w) * 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 (48): * Single equations (assignments): 47 * 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.01316/0.5736, allocations: 5.237 MB / 0.737 GB, free: 25.04 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005715/0.5793, allocations: 2.201 MB / 0.7391 GB, free: 22.84 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.5793, allocations: 0 / 0.7391 GB, free: 22.84 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00404/0.5833, allocations: 1.44 MB / 0.7405 GB, free: 21.39 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006744/0.584, allocations: 75.31 kB / 0.7406 GB, free: 21.32 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03041/0.6144, allocations: 13.94 MB / 0.7542 GB, free: 7.234 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003464/0.6148, allocations: 1.029 MB / 0.7552 GB, free: 6.176 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003079/0.6151, allocations: 77.05 kB / 0.7553 GB, free: 6.102 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003601/0.6154, allocations: 379.3 kB / 0.7556 GB, free: 5.73 MB / 494.1 MB Notification: Performance of SimCode: time 1.202e-06/0.6154, allocations: 0 / 0.7556 GB, free: 5.73 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06875/0.6842, allocations: 30.87 MB / 0.7858 GB, free: 6.918 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.49/16.17, allocations: 11.69 kB / 0.7858 GB, free: 6.91 MB / 0.5137 GB " [Timeout remaining time 644] (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.564315892755985] Failed to read output from testmodel.py, exit status != 0: 16.281334892846644 16.305282081 16.154367921 Calling exit ...