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.001787/0.001787, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.411/1.411, allocations: 230.6 MB / 250.5 MB, free: 9.387 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.001489/0.001489, allocations: 218.3 kB / 306.7 MB, free: 4.312 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.4593/0.4593, allocations: 79.71 MB / 442.5 MB, free: 228 kB / 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.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.002723/0.002723, allocations: 79.89 kB / 0.5885 GB, free: 1.574 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1574, allocations: 73.26 MB / 0.6601 GB, free: 8.223 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.008397/0.1657, allocations: 6.489 MB / 0.6664 GB, free: 1.688 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004574/0.1703, allocations: 1.958 MB / 0.6683 GB, free: 15.73 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001135/0.1715, allocations: 8 kB / 0.6683 GB, free: 15.72 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009501/0.1724, allocations: 233.9 kB / 0.6685 GB, free: 15.49 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0029/0.1753, allocations: 0.7949 MB / 0.6693 GB, free: 14.69 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001814/0.1771, allocations: 0.6234 MB / 0.6699 GB, free: 14.07 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002454/0.1796, allocations: 1.436 MB / 0.6713 GB, free: 12.63 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005999/0.1802, allocations: 224.4 kB / 0.6715 GB, free: 12.4 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001246/0.1814, allocations: 0.6223 MB / 0.6721 GB, free: 11.78 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001199/0.1826, allocations: 0.7272 MB / 0.6729 GB, free: 11.05 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003715/0.183, allocations: 104 kB / 0.673 GB, free: 10.95 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008742/0.1839, allocations: 259.8 kB / 0.6732 GB, free: 10.69 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003983/0.1843, allocations: 286.7 kB / 0.6735 GB, free: 10.41 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009847/0.1852, allocations: 0.6329 MB / 0.6741 GB, free: 9.773 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002661/0.1879, allocations: 1.54 MB / 0.6756 GB, free: 8.227 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1879, allocations: 0 / 0.6756 GB, free: 8.227 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1879, allocations: 0 / 0.6756 GB, free: 8.227 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.527e-05/0.188, allocations: 0 / 0.6756 GB, free: 8.227 MB / 478.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.009785/0.1978, allocations: 2.633 MB / 0.6782 GB, free: 5.535 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/0.1978, allocations: 11.97 kB / 0.6782 GB, free: 5.523 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.101e-05/0.1979, allocations: 22 kB / 0.6782 GB, free: 5.504 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003119/0.1982, allocations: 126.8 kB / 0.6783 GB, free: 5.371 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005798/0.204, allocations: 0.8264 MB / 0.6791 GB, free: 4.543 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001961/0.2059, allocations: 0.7931 MB / 0.6799 GB, free: 3.695 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003663/0.2063, allocations: 256.2 kB / 0.6801 GB, free: 3.406 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002754/0.2066, allocations: 79.95 kB / 0.6802 GB, free: 3.328 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002951/0.2095, allocations: 1.085 MB / 0.6813 GB, free: 2.234 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.171e-05/0.2096, allocations: 0 / 0.6813 GB, free: 2.234 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000114/0.2097, allocations: 32 kB / 0.6813 GB, free: 2.203 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.108e-05/0.2097, allocations: 20 kB / 0.6813 GB, free: 2.184 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002856/0.2125, allocations: 1.117 MB / 0.6824 GB, free: 1.07 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.007134/0.2197, allocations: 3.461 MB / 0.6858 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00246/0.2221, allocations: 1.34 MB / 0.6871 GB, free: 11.99 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001753/0.2239, allocations: 0.707 MB / 0.6878 GB, free: 11.28 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001273/0.224, allocations: 13 kB / 0.6878 GB, free: 11.27 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.22e-05/0.2241, allocations: 47.55 kB / 0.6879 GB, free: 11.21 MB / 494.1 MB Notification: Performance of pre-optimization done (n=97): time 3.035e-06/0.2241, allocations: 0 / 0.6879 GB, free: 11.21 MB / 494.1 MB Notification: Performance of matching and sorting (n=97): time 0.02788/0.2519, allocations: 6.579 MB / 0.6943 GB, free: 4.602 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.138e-05/0.252, allocations: 60.41 kB / 0.6943 GB, free: 4.527 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001485/0.2535, allocations: 0.9087 MB / 0.6952 GB, free: 3.602 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002921/0.2538, allocations: 49.64 kB / 0.6953 GB, free: 3.547 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004856/0.2543, allocations: 0.4975 MB / 0.6958 GB, free: 3.043 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005771/0.2549, allocations: 364.9 kB / 0.6961 GB, free: 2.684 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005778/0.2554, allocations: 198.9 kB / 0.6963 GB, free: 2.48 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.2556, allocations: 361.9 kB / 0.6966 GB, free: 2.121 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001917/0.2575, allocations: 0.717 MB / 0.6973 GB, free: 1.406 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001987/0.2595, allocations: 0.8462 MB / 0.6982 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3355/0.595, allocations: 4.935 MB / 0.703 GB, free: 34.57 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.125e-06/0.595, allocations: 1.25 kB / 0.703 GB, free: 34.57 MB / 494.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01499/0.61, allocations: 4.246 MB / 0.7071 GB, free: 34.43 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.308e-05/0.61, allocations: 9.25 kB / 0.7071 GB, free: 34.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.208e-05/0.61, allocations: 4.156 kB / 0.7072 GB, free: 34.43 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007337/0.6174, allocations: 1.813 MB / 0.7089 GB, free: 34.34 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001241/0.6186, allocations: 209.8 kB / 0.7091 GB, free: 34.34 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02354/0.6422, allocations: 9.334 MB / 0.7182 GB, free: 30.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001512/0.6437, allocations: 176.7 kB / 0.7184 GB, free: 30.05 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001248/0.6438, allocations: 43.61 kB / 0.7184 GB, free: 30.04 MB / 494.1 MB 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.0004535/0.6442, allocations: 238.2 kB / 0.7187 GB, free: 29.85 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002317/0.6445, allocations: 124.6 kB / 0.7188 GB, free: 29.78 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01335/0.6578, allocations: 3.987 MB / 0.7227 GB, free: 28.75 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-05/0.6578, allocations: 10.09 kB / 0.7227 GB, free: 28.75 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.6578, allocations: 2.562 kB / 0.7227 GB, free: 28.75 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.945e-05/0.6579, allocations: 5.422 kB / 0.7227 GB, free: 28.75 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01437/0.6722, allocations: 5.582 MB / 0.7282 GB, free: 25.38 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.597e-05/0.6723, allocations: 4.969 kB / 0.7282 GB, free: 25.38 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008621/0.6731, allocations: 133.1 kB / 0.7283 GB, free: 25.34 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005863/0.679, allocations: 1.748 MB / 0.73 GB, free: 24.59 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002024/0.6792, allocations: 21.86 kB / 0.73 GB, free: 24.58 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01671/0.6959, allocations: 8.081 MB / 0.7379 GB, free: 18.37 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.6959, allocations: 0 / 0.7379 GB, free: 18.37 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01404/0.7099, allocations: 4.936 MB / 0.7427 GB, free: 13.41 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003695/0.7103, allocations: 213.8 kB / 0.7429 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001827/0.7105, allocations: 19.98 kB / 0.7429 GB, free: 13.18 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001037/0.7115, allocations: 109.7 kB / 0.7431 GB, free: 13.07 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006933/0.7122, allocations: 216.7 kB / 0.7433 GB, free: 12.86 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.23e-05/0.7123, allocations: 24 kB / 0.7433 GB, free: 12.84 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006714/0.713, allocations: 0.609 MB / 0.7439 GB, free: 12.22 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.713, allocations: 6.812 kB / 0.7439 GB, free: 12.22 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001423/0.7144, allocations: 444.8 kB / 0.7443 GB, free: 11.8 MB / 494.1 MB 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.01429/0.7287, allocations: 5.518 MB / 0.7497 GB, free: 6.25 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006588/0.7353, allocations: 2.388 MB / 0.752 GB, free: 3.855 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.7353, allocations: 0 / 0.752 GB, free: 3.855 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004485/0.7398, allocations: 1.536 MB / 0.7535 GB, free: 2.309 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007846/0.7406, allocations: 95.22 kB / 0.7536 GB, free: 2.219 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04088/0.7814, allocations: 15.34 MB / 0.7686 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000787/0.7822, allocations: 1.095 MB / 0.7697 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004412/0.7827, allocations: 94.88 kB / 0.7698 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006157/0.7833, allocations: 451.3 kB / 0.7702 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of SimCode: time 1.072e-06/0.7833, allocations: 0 / 0.7702 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07021/0.8535, allocations: 34.24 MB / 0.8036 GB, free: 15.01 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.52/18.37, allocations: 11.98 kB / 0.8036 GB, free: 15 MB / 0.545 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.001882582029793] Failed to read output from testmodel.py, exit status != 0: 18.554797237040475 18.580821673 18.388134196 Calling exit ...