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.001368/0.001368, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.422/1.422, allocations: 230.6 MB / 252.7 MB, free: 8.289 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.00159/0.00159, allocations: 214.5 kB / 309.2 MB, free: 3.184 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.4351/0.4351, allocations: 79.74 MB / 445.4 MB, free: 14.84 MB / 318.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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation",fmuType="me",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.002507/0.002507, allocations: 84.28 kB / 0.5929 GB, free: 13.94 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1279, allocations: 73.3 MB / 0.6645 GB, free: 4.543 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.007882/0.1358, allocations: 6.513 MB / 0.6709 GB, free: 14 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004009/0.1398, allocations: 1.974 MB / 0.6728 GB, free: 12.02 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007623/0.1406, allocations: 11.94 kB / 0.6728 GB, free: 12.01 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006449/0.1412, allocations: 226 kB / 0.673 GB, free: 11.79 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002076/0.1433, allocations: 0.7766 MB / 0.6738 GB, free: 11 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001464/0.1448, allocations: 0.6449 MB / 0.6744 GB, free: 10.37 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001873/0.1466, allocations: 1.429 MB / 0.6758 GB, free: 8.934 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004778/0.1471, allocations: 232.8 kB / 0.676 GB, free: 8.695 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009872/0.1481, allocations: 0.6146 MB / 0.6766 GB, free: 8.078 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009653/0.1491, allocations: 0.7426 MB / 0.6774 GB, free: 7.332 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001839/0.1493, allocations: 104 kB / 0.6775 GB, free: 7.23 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005329/0.1498, allocations: 251.9 kB / 0.6777 GB, free: 6.984 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000248/0.15, allocations: 282.7 kB / 0.678 GB, free: 6.707 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005805/0.1506, allocations: 0.6329 MB / 0.6786 GB, free: 6.07 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001857/0.1525, allocations: 1.552 MB / 0.6801 GB, free: 4.512 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1525, allocations: 0 / 0.6801 GB, free: 4.512 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1525, allocations: 0 / 0.6801 GB, free: 4.512 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.339e-05/0.1525, allocations: 0 / 0.6801 GB, free: 4.512 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.008443/0.1609, allocations: 2.553 MB / 0.6826 GB, free: 1.918 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.161, allocations: 11.98 kB / 0.6826 GB, free: 1.906 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001743/0.1612, allocations: 126.8 kB / 0.6827 GB, free: 1.773 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00529/0.1664, allocations: 0.8186 MB / 0.6835 GB, free: 0.9531 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001487/0.1679, allocations: 0.7326 MB / 0.6843 GB, free: 180 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003595/0.1683, allocations: 307.6 kB / 0.6845 GB, free: 15.83 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001727/0.1685, allocations: 79.95 kB / 0.6846 GB, free: 15.75 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002438/0.1709, allocations: 1.089 MB / 0.6857 GB, free: 14.65 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/0.1709, allocations: 0 / 0.6857 GB, free: 14.65 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/0.171, allocations: 36 kB / 0.6857 GB, free: 14.62 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.798e-05/0.171, allocations: 27.88 kB / 0.6857 GB, free: 14.59 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002611/0.1737, allocations: 1.12 MB / 0.6868 GB, free: 13.47 MB / 494.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.006294/0.1799, allocations: 3.391 MB / 0.6901 GB, free: 9.938 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002088/0.182, allocations: 0.8929 MB / 0.691 GB, free: 9.039 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001706/0.1837, allocations: 0.7109 MB / 0.6917 GB, free: 8.32 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00012/0.1839, allocations: 12.98 kB / 0.6917 GB, free: 8.309 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.791e-05/0.1839, allocations: 47.56 kB / 0.6918 GB, free: 8.254 MB / 494.1 MB Notification: Performance of pre-optimization done (n=97): time 2.685e-06/0.1839, allocations: 0 / 0.6918 GB, free: 8.254 MB / 494.1 MB Notification: Performance of matching and sorting (n=97): time 0.02578/0.2097, allocations: 6.502 MB / 0.6981 GB, free: 1.738 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.335e-05/0.2097, allocations: 60.41 kB / 0.6982 GB, free: 1.668 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001274/0.211, allocations: 0.9165 MB / 0.6991 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002027/0.2112, allocations: 41.7 kB / 0.6991 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004129/0.2116, allocations: 0.4937 MB / 0.6996 GB, free: 192 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.2247/0.4363, allocations: 365.5 kB / 0.6999 GB, free: 33.8 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000428/0.4367, allocations: 202.3 kB / 0.7001 GB, free: 33.78 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.752e-05/0.4368, allocations: 349.8 kB / 0.7005 GB, free: 33.48 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001527/0.4383, allocations: 0.7217 MB / 0.7012 GB, free: 33.48 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0016/0.4399, allocations: 0.8507 MB / 0.702 GB, free: 33.38 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01908/0.459, allocations: 4.937 MB / 0.7068 GB, free: 33.24 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.758e-06/0.459, allocations: 4.812 kB / 0.7068 GB, free: 33.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01391/0.4729, allocations: 4.247 MB / 0.711 GB, free: 32.88 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.832e-05/0.4729, allocations: 9.766 kB / 0.711 GB, free: 32.88 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.498e-05/0.4729, allocations: 2.266 kB / 0.711 GB, free: 32.88 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006527/0.4795, allocations: 1.808 MB / 0.7128 GB, free: 32.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/0.4805, allocations: 212 kB / 0.713 GB, free: 32.55 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02063/0.5012, allocations: 9.22 MB / 0.722 GB, free: 28.29 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001438/0.5026, allocations: 178.4 kB / 0.7221 GB, free: 28.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001274/0.5027, allocations: 42.83 kB / 0.7222 GB, free: 28.23 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.000431/0.5032, allocations: 238.2 kB / 0.7224 GB, free: 28.04 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002025/0.5034, allocations: 128.6 kB / 0.7225 GB, free: 27.97 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01236/0.5157, allocations: 3.987 MB / 0.7264 GB, free: 26.74 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-05/0.5157, allocations: 10.8 kB / 0.7264 GB, free: 26.74 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.5157, allocations: 1.875 kB / 0.7264 GB, free: 26.74 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.736e-05/0.5158, allocations: 3.984 kB / 0.7264 GB, free: 26.73 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01386/0.5296, allocations: 5.558 MB / 0.7319 GB, free: 23.39 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.078e-05/0.5296, allocations: 2.625 kB / 0.7319 GB, free: 23.39 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007297/0.5304, allocations: 128.2 kB / 0.732 GB, free: 23.36 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005327/0.5357, allocations: 1.751 MB / 0.7337 GB, free: 22.61 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001497/0.5358, allocations: 15.97 kB / 0.7337 GB, free: 22.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01603/0.5519, allocations: 7.987 MB / 0.7415 GB, free: 15.72 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.5519, allocations: 0 / 0.7415 GB, free: 15.72 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01349/0.5653, allocations: 4.941 MB / 0.7463 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003121/0.5657, allocations: 131.3 kB / 0.7465 GB, free: 10.65 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001996/0.5659, allocations: 16 kB / 0.7465 GB, free: 10.63 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001009/0.5669, allocations: 107.9 kB / 0.7466 GB, free: 10.53 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006208/0.5675, allocations: 228.5 kB / 0.7468 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.103e-05/0.5676, allocations: 27.98 kB / 0.7468 GB, free: 10.27 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006329/0.5682, allocations: 0.6051 MB / 0.7474 GB, free: 9.66 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5682, allocations: 0 / 0.7474 GB, free: 9.66 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001191/0.5694, allocations: 447.6 kB / 0.7478 GB, free: 9.227 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.01354/0.5829, allocations: 5.525 MB / 0.7532 GB, free: 3.672 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006304/0.5892, allocations: 2.387 MB / 0.7556 GB, free: 1.277 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.5892, allocations: 0 / 0.7556 GB, free: 1.277 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004439/0.5937, allocations: 1.53 MB / 0.7571 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008341/0.5945, allocations: 92.36 kB / 0.7572 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04093/0.6354, allocations: 15.34 MB / 0.7721 GB, free: 144 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007865/0.6362, allocations: 1.099 MB / 0.7732 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004129/0.6366, allocations: 91.33 kB / 0.7733 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000638/0.6373, allocations: 455.2 kB / 0.7737 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of SimCode: time 1.372e-06/0.6373, allocations: 0 / 0.7737 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1107/0.748, allocations: 35.12 MB / 0.808 GB, free: 11.54 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.44/19.19, allocations: 7.062 kB / 0.808 GB, free: 11.54 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 & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 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.540080904000206] Failed to read output from testmodel.py, exit status != 0: 19.322423526999046 19.352002001 19.195068463 Calling exit ...