Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.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.001648/0.001648, allocations: 109.9 kB / 16.45 MB, free: 6.504 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.448/1.448, allocations: 225.6 MB / 244.8 MB, free: 14.16 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.001514/0.001514, allocations: 199.8 kB / 299.8 MB, free: 9.832 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.4659/0.4659, allocations: 79.74 MB / 434.4 MB, free: 6.199 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.Order2test2_perturbation,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002398/0.002398, allocations: 83.88 kB / 0.5784 GB, free: 9.961 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1186, allocations: 72.09 MB / 0.6488 GB, free: 1.773 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.007441/0.126, allocations: 6.403 MB / 0.655 GB, free: 11.33 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003827/0.1298, allocations: 1.864 MB / 0.6569 GB, free: 9.457 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007182/0.1306, allocations: 8 kB / 0.6569 GB, free: 9.449 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005677/0.1311, allocations: 214 kB / 0.6571 GB, free: 9.238 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00182/0.133, allocations: 0.7707 MB / 0.6578 GB, free: 8.465 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001409/0.1344, allocations: 0.6035 MB / 0.6584 GB, free: 7.867 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001826/0.1362, allocations: 1.398 MB / 0.6598 GB, free: 6.465 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004263/0.1366, allocations: 232.3 kB / 0.66 GB, free: 6.23 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008126/0.1374, allocations: 0.5873 MB / 0.6606 GB, free: 5.641 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008799/0.1383, allocations: 0.731 MB / 0.6613 GB, free: 4.906 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001705/0.1385, allocations: 104 kB / 0.6614 GB, free: 4.805 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004759/0.139, allocations: 231.9 kB / 0.6616 GB, free: 4.578 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002439/0.1392, allocations: 278.8 kB / 0.6619 GB, free: 4.305 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005849/0.1398, allocations: 0.6213 MB / 0.6625 GB, free: 3.68 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001732/0.1415, allocations: 1.513 MB / 0.664 GB, free: 2.16 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1415, allocations: 0 / 0.664 GB, free: 2.16 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1415, allocations: 3.938 kB / 0.664 GB, free: 2.156 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.592e-05/0.1415, allocations: 0 / 0.664 GB, free: 2.156 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.008329/0.1499, allocations: 2.586 MB / 0.6665 GB, free: 15.51 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.1499, allocations: 8.031 kB / 0.6665 GB, free: 15.5 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002073/0.1501, allocations: 130.8 kB / 0.6666 GB, free: 15.37 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005205/0.1553, allocations: 0.7757 MB / 0.6674 GB, free: 14.59 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001495/0.1568, allocations: 0.781 MB / 0.6681 GB, free: 13.75 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003227/0.1571, allocations: 260.1 kB / 0.6684 GB, free: 13.46 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000177/0.1573, allocations: 76 kB / 0.6685 GB, free: 13.39 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002414/0.1597, allocations: 1.073 MB / 0.6695 GB, free: 12.31 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.988e-05/0.1597, allocations: 4 kB / 0.6695 GB, free: 12.31 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.046e-05/0.1598, allocations: 32 kB / 0.6695 GB, free: 12.28 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.754e-05/0.1599, allocations: 16 kB / 0.6696 GB, free: 12.26 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002638/0.1625, allocations: 1.124 MB / 0.6707 GB, free: 11.13 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.006196/0.1687, allocations: 3.425 MB / 0.674 GB, free: 7.555 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002205/0.1709, allocations: 1.319 MB / 0.6753 GB, free: 6.125 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001613/0.1725, allocations: 0.7031 MB / 0.676 GB, free: 5.418 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001002/0.1726, allocations: 16.98 kB / 0.676 GB, free: 5.398 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/0.1726, allocations: 43.56 kB / 0.676 GB, free: 5.348 MB / 478.1 MB Notification: Performance of pre-optimization done (n=96): time 2.805e-06/0.1726, allocations: 3.938 kB / 0.676 GB, free: 5.344 MB / 478.1 MB Notification: Performance of matching and sorting (n=96): time 0.02682/0.1995, allocations: 6.712 MB / 0.6826 GB, free: 14.6 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.786e-05/0.1995, allocations: 68.34 kB / 0.6827 GB, free: 14.52 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001238/0.2008, allocations: 0.8839 MB / 0.6835 GB, free: 13.61 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001658/0.2009, allocations: 41.7 kB / 0.6836 GB, free: 13.57 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004182/0.2013, allocations: 0.4973 MB / 0.684 GB, free: 13.06 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003763/0.2017, allocations: 353 kB / 0.6844 GB, free: 12.71 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004195/0.2021, allocations: 198.9 kB / 0.6846 GB, free: 12.51 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.2023, allocations: 349.9 kB / 0.6849 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001774/0.2041, allocations: 0.7092 MB / 0.6856 GB, free: 11.46 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001848/0.2059, allocations: 0.8384 MB / 0.6864 GB, free: 10.59 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01921/0.2251, allocations: 4.783 MB / 0.6911 GB, free: 5.766 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.059e-05/0.2252, allocations: 4 kB / 0.6911 GB, free: 5.762 MB / 494.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01414/0.2393, allocations: 4.23 MB / 0.6952 GB, free: 1.516 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.607e-05/0.2393, allocations: 4 kB / 0.6952 GB, free: 1.512 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.498e-05/0.2393, allocations: 4 kB / 0.6952 GB, free: 1.508 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.238/0.4773, allocations: 1.857 MB / 0.697 GB, free: 42.63 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001074/0.4784, allocations: 205.3 kB / 0.6972 GB, free: 42.63 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02061/0.499, allocations: 9.094 MB / 0.7061 GB, free: 39.66 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001363/0.5004, allocations: 181.4 kB / 0.7063 GB, free: 39.64 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/0.5005, allocations: 38.8 kB / 0.7063 GB, free: 39.64 MB / 494.1 MB Warning: Assuming fixed start value for the following 2 variables: order2_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2_Inputs_Outputs1.delta:VARIABLE(flow=false start = order2_Inputs_Outputs1.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 (108): * Single equations (assignments): 107 * 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.0004074/0.5009, allocations: 240.3 kB / 0.7066 GB, free: 39.45 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001874/0.5011, allocations: 124.6 kB / 0.7067 GB, free: 39.39 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01344/0.5145, allocations: 3.979 MB / 0.7106 GB, free: 38.59 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.326e-05/0.5145, allocations: 11.55 kB / 0.7106 GB, free: 38.59 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.5145, allocations: 0 / 0.7106 GB, free: 38.59 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.615e-05/0.5146, allocations: 8.812 kB / 0.7106 GB, free: 38.58 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01411/0.5287, allocations: 5.577 MB / 0.716 GB, free: 36.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.398e-06/0.5287, allocations: 0 / 0.716 GB, free: 36.68 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006777/0.5293, allocations: 137.8 kB / 0.7162 GB, free: 36.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005516/0.5349, allocations: 1.741 MB / 0.7179 GB, free: 36.36 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001027/0.535, allocations: 16.31 kB / 0.7179 GB, free: 36.35 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01621/0.5512, allocations: 8.08 MB / 0.7258 GB, free: 32.39 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.5512, allocations: 2.938 kB / 0.7258 GB, free: 32.39 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01273/0.5639, allocations: 4.932 MB / 0.7306 GB, free: 29.88 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000281/0.5642, allocations: 213 kB / 0.7308 GB, free: 29.7 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001548/0.5644, allocations: 16.03 kB / 0.7308 GB, free: 29.68 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009216/0.5653, allocations: 112.5 kB / 0.7309 GB, free: 29.63 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006244/0.5659, allocations: 220.2 kB / 0.7311 GB, free: 29.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.64e-05/0.566, allocations: 27.55 kB / 0.7311 GB, free: 29.49 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005744/0.5665, allocations: 0.5943 MB / 0.7317 GB, free: 29.15 MB / 494.1 MB Notification: Performance of sort global known variables: time 6e-08/0.5665, allocations: 0 / 0.7317 GB, free: 29.15 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001153/0.5677, allocations: 437.9 kB / 0.7321 GB, free: 29 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order2_Inputs_Outputs1.delta,order2_Inputs_Outputs1.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 (63): * Single equations (assignments): 62 * 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.01329/0.581, allocations: 5.513 MB / 0.7375 GB, free: 23.47 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005878/0.5869, allocations: 2.362 MB / 0.7398 GB, free: 21.11 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.5869, allocations: 0 / 0.7398 GB, free: 21.11 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004139/0.591, allocations: 1.509 MB / 0.7413 GB, free: 19.59 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007077/0.5917, allocations: 90.92 kB / 0.7414 GB, free: 19.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03345/0.6252, allocations: 15.09 MB / 0.7561 GB, free: 4.242 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003811/0.6255, allocations: 1.088 MB / 0.7572 GB, free: 3.125 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003711/0.6259, allocations: 84.66 kB / 0.7573 GB, free: 3.043 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004327/0.6263, allocations: 447.3 kB / 0.7577 GB, free: 2.605 MB / 494.1 MB Notification: Performance of SimCode: time 9.51e-07/0.6263, allocations: 0 / 0.7577 GB, free: 2.605 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07569/0.702, allocations: 33.55 MB / 0.7905 GB, free: 1.238 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.3/18, allocations: 3.938 kB / 0.7905 GB, free: 1.234 MB / 0.5137 GB " [Timeout remaining time 642] (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.405148186255246] Failed to read output from testmodel.py, exit status != 0: 18.110124570317566 18.131586399 17.985939756 Calling exit ...