Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.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.00188/0.00188, allocations: 97.92 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.001647/0.001647, allocations: 214.9 kB / 310 MB, free: 3.094 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.462/0.462, allocations: 79.75 MB / 446.2 MB, free: 40.25 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_perturbation,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation",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.002467/0.002467, allocations: 86.25 kB / 0.5936 GB, free: 38.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1099, allocations: 73.3 MB / 0.6652 GB, free: 340 kB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.006898/0.1168, allocations: 5.691 MB / 0.6708 GB, free: 11.99 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004274/0.1211, allocations: 1.872 MB / 0.6726 GB, free: 10.19 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009382/0.122, allocations: 15.94 kB / 0.6726 GB, free: 10.18 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006012/0.1226, allocations: 218 kB / 0.6728 GB, free: 9.961 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001865/0.1245, allocations: 0.7726 MB / 0.6736 GB, free: 9.184 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001441/0.1259, allocations: 0.6173 MB / 0.6742 GB, free: 8.574 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001674/0.1276, allocations: 1.433 MB / 0.6756 GB, free: 7.137 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000419/0.128, allocations: 228.8 kB / 0.6758 GB, free: 6.902 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008617/0.1289, allocations: 0.6107 MB / 0.6764 GB, free: 6.289 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008663/0.1297, allocations: 0.7504 MB / 0.6771 GB, free: 5.535 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001577/0.1299, allocations: 100 kB / 0.6772 GB, free: 5.438 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005148/0.1304, allocations: 255.9 kB / 0.6775 GB, free: 5.188 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002445/0.1306, allocations: 286.7 kB / 0.6777 GB, free: 4.906 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004762/0.1311, allocations: 0.5127 MB / 0.6782 GB, free: 4.391 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001715/0.1328, allocations: 1.563 MB / 0.6798 GB, free: 2.82 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.1328, allocations: 0 / 0.6798 GB, free: 2.82 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.624e-06/0.1328, allocations: 0 / 0.6798 GB, free: 2.82 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.592e-05/0.1328, allocations: 0 / 0.6798 GB, free: 2.82 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.007937/0.1408, allocations: 2.549 MB / 0.6822 GB, free: 236 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.1408, allocations: 8.031 kB / 0.6823 GB, free: 228 kB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.723e-05/0.1409, allocations: 26 kB / 0.6823 GB, free: 204 kB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001609/0.141, allocations: 122.8 kB / 0.6824 GB, free: 72 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005332/0.1463, allocations: 0.8264 MB / 0.6832 GB, free: 15.24 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001296/0.1476, allocations: 0.7248 MB / 0.6839 GB, free: 14.47 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003382/0.148, allocations: 311.6 kB / 0.6842 GB, free: 14.12 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000171/0.1482, allocations: 83.94 kB / 0.6843 GB, free: 14.04 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002434/0.1506, allocations: 1.085 MB / 0.6854 GB, free: 12.94 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.1506, allocations: 0 / 0.6854 GB, free: 12.94 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/0.1507, allocations: 28 kB / 0.6854 GB, free: 12.91 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.738e-05/0.1507, allocations: 20 kB / 0.6854 GB, free: 12.89 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002596/0.1533, allocations: 1.12 MB / 0.6865 GB, free: 11.78 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.005577/0.1589, allocations: 2.615 MB / 0.689 GB, free: 9.117 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002004/0.1609, allocations: 0.8854 MB / 0.6899 GB, free: 8.227 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001583/0.1625, allocations: 0.707 MB / 0.6906 GB, free: 7.512 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.957e-05/0.1626, allocations: 13 kB / 0.6906 GB, free: 7.5 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.1626, allocations: 47.55 kB / 0.6907 GB, free: 7.445 MB / 478.1 MB Notification: Performance of pre-optimization done (n=97): time 2.936e-06/0.1626, allocations: 0 / 0.6907 GB, free: 7.445 MB / 478.1 MB Notification: Performance of matching and sorting (n=97): time 0.02605/0.1887, allocations: 6.502 MB / 0.697 GB, free: 0.9297 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.789e-05/0.1887, allocations: 60.41 kB / 0.6971 GB, free: 0.8594 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001505/0.1902, allocations: 0.9088 MB / 0.698 GB, free: 15.93 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002171/0.1905, allocations: 45.7 kB / 0.698 GB, free: 15.88 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004434/0.1909, allocations: 0.4975 MB / 0.6985 GB, free: 15.38 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004952/0.1914, allocations: 364.8 kB / 0.6988 GB, free: 15.02 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004343/0.1918, allocations: 198.9 kB / 0.699 GB, free: 14.82 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.192, allocations: 353.9 kB / 0.6994 GB, free: 14.46 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001668/0.1937, allocations: 0.7286 MB / 0.7001 GB, free: 13.74 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001766/0.1954, allocations: 0.8462 MB / 0.7009 GB, free: 12.86 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02005/0.2155, allocations: 4.943 MB / 0.7057 GB, free: 7.883 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/0.2155, allocations: 0 / 0.7057 GB, free: 7.883 MB / 494.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01407/0.2296, allocations: 4.242 MB / 0.7099 GB, free: 3.625 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.139e-05/0.2296, allocations: 9.5 kB / 0.7099 GB, free: 3.617 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/0.2296, allocations: 4 kB / 0.7099 GB, free: 3.613 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006333/0.2359, allocations: 1.811 MB / 0.7116 GB, free: 1.797 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001204/0.2371, allocations: 211.7 kB / 0.7118 GB, free: 1.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02239/0.2595, allocations: 9.027 MB / 0.7207 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001528/0.2611, allocations: 179.2 kB / 0.7208 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001228/0.2612, allocations: 47.92 kB / 0.7209 GB, free: 8.219 MB / 0.4981 GB Warning: Assuming fixed start value for the following 2 variables: order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3_Inputs_Outputs1.delta:VARIABLE(flow=false start = order3_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 (111): * Single equations (assignments): 110 * 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.0005015/0.2617, allocations: 234.5 kB / 0.7211 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002328/0.2619, allocations: 131.2 kB / 0.7212 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01319/0.2751, allocations: 3.979 MB / 0.7251 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.21e-05/0.2751, allocations: 12 kB / 0.7251 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.2751, allocations: 0 / 0.7251 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.476e-05/0.2752, allocations: 7.969 kB / 0.7251 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01507/0.2902, allocations: 4.977 MB / 0.73 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-05/0.2902, allocations: 3.984 kB / 0.73 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008033/0.291, allocations: 123.9 kB / 0.7301 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006066/0.2971, allocations: 1.738 MB / 0.7318 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002312/0.2973, allocations: 27.92 kB / 0.7318 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01882/0.3162, allocations: 7.794 MB / 0.7395 GB, free: 5 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.3162, allocations: 0 / 0.7395 GB, free: 5 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01521/0.3314, allocations: 4.926 MB / 0.7443 GB, free: 52 kB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003616/0.3317, allocations: 135.2 kB / 0.7444 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001819/0.3319, allocations: 19.75 kB / 0.7444 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001031/0.3329, allocations: 115.9 kB / 0.7445 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007241/0.3337, allocations: 224.6 kB / 0.7447 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.838e-05/0.3337, allocations: 20 kB / 0.7448 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007989/0.3345, allocations: 0.609 MB / 0.7453 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.3345, allocations: 0 / 0.7453 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001217/0.3358, allocations: 451.5 kB / 0.7458 GB, free: 14.49 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.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 (64): * Single equations (assignments): 63 * 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.01557/0.3513, allocations: 5.526 MB / 0.7512 GB, free: 8.926 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007012/0.3583, allocations: 2.378 MB / 0.7535 GB, free: 6.535 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.3583, allocations: 0 / 0.7535 GB, free: 6.535 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004896/0.3632, allocations: 1.52 MB / 0.755 GB, free: 5.008 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008535/0.3641, allocations: 92.41 kB / 0.7551 GB, free: 4.914 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03913/0.4032, allocations: 15.35 MB / 0.7701 GB, free: 5.363 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005402/0.4038, allocations: 0.5098 MB / 0.7706 GB, free: 4.82 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004247/0.4042, allocations: 90.88 kB / 0.7706 GB, free: 4.727 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006173/0.4048, allocations: 447.3 kB / 0.7711 GB, free: 4.289 MB / 0.545 GB Notification: Performance of SimCode: time 9.42e-07/0.4048, allocations: 0 / 0.7711 GB, free: 4.289 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07087/0.4757, allocations: 35.32 MB / 0.8056 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.36/18.83, allocations: 14.28 kB / 0.8056 GB, free: 1.133 MB / 0.5762 GB " [Timeout remaining time 641] (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 22.66659570101183] Failed to read output from testmodel.py, exit status != 0: 19.281618703040294 19.292737521 19.157465982 Calling exit ...