Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.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.0007393/0.0007393, allocations: 76.44 kB / 19.17 MB, free: 0.7305 MB / 13.93 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 0.8554/0.8554, allocations: 177.2 MB / 199.4 MB, free: 5.918 MB / 186.7 MB " [Timeout remaining time 179] 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.001042/0.001042, allocations: 156 kB / 256 MB, free: 13.32 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.2642/0.2642, allocations: 80.35 MB / 392.7 MB, free: 2.371 MB / 314.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/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,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.385e-06/2.385e-06, allocations: 0 / 0.555 GB, free: 12.59 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.168e-05/2.407e-05, allocations: 10.22 kB / 0.555 GB, free: 12.58 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.004188/0.004212, allocations: 5.102 MB / 0.5599 GB, free: 7.445 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002343/0.006555, allocations: 1.712 MB / 0.5616 GB, free: 5.73 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003287/0.006884, allocations: 12 kB / 0.5616 GB, free: 5.719 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003515/0.007235, allocations: 198.3 kB / 0.5618 GB, free: 5.523 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001177/0.008412, allocations: 0.7399 MB / 0.5625 GB, free: 4.781 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006759/0.009088, allocations: 0.5575 MB / 0.5631 GB, free: 4.23 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008155/0.009903, allocations: 1.287 MB / 0.5643 GB, free: 2.938 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002307/0.01013, allocations: 175.7 kB / 0.5645 GB, free: 2.754 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005841/0.01072, allocations: 0.7402 MB / 0.5652 GB, free: 2.012 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003918/0.01111, allocations: 0.5101 MB / 0.5657 GB, free: 1.5 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 8.42e-05/0.01119, allocations: 88 kB / 0.5658 GB, free: 1.414 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002786/0.01147, allocations: 231.8 kB / 0.566 GB, free: 1.188 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001236/0.0116, allocations: 250.8 kB / 0.5663 GB, free: 0.9414 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002083/0.0118, allocations: 370.8 kB / 0.5666 GB, free: 0.5781 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009768/0.01278, allocations: 1.405 MB / 0.568 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.01278, allocations: 3.984 kB / 0.568 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.012e-06/0.01279, allocations: 0 / 0.568 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.661e-05/0.0128, allocations: 0 / 0.568 GB, free: 15.16 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.004019/0.01682, allocations: 2.307 MB / 0.5703 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.01686, allocations: 8.031 kB / 0.5703 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001047/0.01696, allocations: 118.5 kB / 0.5704 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002255/0.01922, allocations: 0.768 MB / 0.5711 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007376/0.01996, allocations: 0.6491 MB / 0.5718 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001838/0.02014, allocations: 303.6 kB / 0.5721 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.663e-05/0.02024, allocations: 71.95 kB / 0.5721 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001173/0.02141, allocations: 0.9521 MB / 0.5731 GB, free: 9.859 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.02142, allocations: 4 kB / 0.5731 GB, free: 9.855 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.74e-05/0.02148, allocations: 24 kB / 0.5731 GB, free: 9.832 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/0.02149, allocations: 19.94 kB / 0.5731 GB, free: 9.812 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001234/0.02273, allocations: 0.972 MB / 0.574 GB, free: 8.836 MB / 0.4948 GB 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.002987/0.02571, allocations: 2.351 MB / 0.5763 GB, free: 6.445 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001137/0.02685, allocations: 0.7753 MB / 0.5771 GB, free: 5.656 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007867/0.02764, allocations: 0.628 MB / 0.5777 GB, free: 5.027 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.992e-05/0.02771, allocations: 16.58 kB / 0.5777 GB, free: 5.012 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.02773, allocations: 43.22 kB / 0.5778 GB, free: 4.961 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=82): time 1.733e-06/0.02773, allocations: 0 / 0.5778 GB, free: 4.961 MB / 0.4948 GB Notification: Performance of matching and sorting (n=82): time 0.01291/0.04064, allocations: 6.651 MB / 0.5843 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.606e-05/0.04067, allocations: 64 kB / 0.5843 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005917/0.04127, allocations: 0.8064 MB / 0.5851 GB, free: 13.38 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.297e-05/0.04132, allocations: 41.7 kB / 0.5852 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001934/0.04151, allocations: 433.1 kB / 0.5856 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001685/0.04168, allocations: 309.3 kB / 0.5859 GB, free: 12.6 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002189/0.0419, allocations: 178.9 kB / 0.586 GB, free: 12.42 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.844e-05/0.04198, allocations: 345.9 kB / 0.5864 GB, free: 12.07 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008307/0.04281, allocations: 0.6506 MB / 0.587 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008939/0.0437, allocations: 0.7795 MB / 0.5878 GB, free: 10.62 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008811/0.05251, allocations: 4.609 MB / 0.5923 GB, free: 5.977 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.05252, allocations: 8 kB / 0.5923 GB, free: 5.969 MB / 0.5105 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.00679/0.05931, allocations: 4.079 MB / 0.5963 GB, free: 1.871 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.05933, allocations: 4 kB / 0.5963 GB, free: 1.867 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.547e-06/0.05934, allocations: 4 kB / 0.5963 GB, free: 1.863 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003135/0.06247, allocations: 1.783 MB / 0.598 GB, free: 76 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1952/0.2577, allocations: 172.2 kB / 0.5982 GB, free: 91.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01135/0.2691, allocations: 9.027 MB / 0.607 GB, free: 88.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008235/0.2699, allocations: 156.1 kB / 0.6071 GB, free: 88.57 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.391e-05/0.2699, allocations: 37.14 kB / 0.6072 GB, free: 88.56 MB / 0.5105 GB Warning: Assuming fixed start value for the following 2 variables: order31.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order31.delta:VARIABLE(flow=false start = order31.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 (95): * Single equations (assignments): 94 * 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.0003277/0.2703, allocations: 228.4 kB / 0.6074 GB, free: 88.39 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.948e-05/0.2704, allocations: 106.3 kB / 0.6075 GB, free: 88.33 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006547/0.2769, allocations: 3.798 MB / 0.6112 GB, free: 87.57 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.508e-06/0.2769, allocations: 10.67 kB / 0.6112 GB, free: 87.57 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.2769, allocations: 0 / 0.6112 GB, free: 87.57 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.2769, allocations: 4.359 kB / 0.6112 GB, free: 87.57 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007976/0.2849, allocations: 4.723 MB / 0.6158 GB, free: 86.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-06/0.2849, allocations: 0 / 0.6158 GB, free: 86.25 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002839/0.2852, allocations: 92.69 kB / 0.6159 GB, free: 86.24 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003294/0.2885, allocations: 1.742 MB / 0.6176 GB, free: 85.94 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.812e-05/0.2886, allocations: 20.95 kB / 0.6176 GB, free: 85.92 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01072/0.2993, allocations: 7.765 MB / 0.6252 GB, free: 82.19 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.2993, allocations: 0 / 0.6252 GB, free: 82.19 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007799/0.3071, allocations: 4.685 MB / 0.6298 GB, free: 80.9 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002344/0.3073, allocations: 121.9 kB / 0.6299 GB, free: 80.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.102e-05/0.3074, allocations: 15.86 kB / 0.6299 GB, free: 80.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004576/0.3079, allocations: 94.69 kB / 0.63 GB, free: 80.8 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004807/0.3083, allocations: 209.1 kB / 0.6302 GB, free: 80.75 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.152e-05/0.3084, allocations: 20.03 kB / 0.6302 GB, free: 80.75 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005107/0.3089, allocations: 0.5432 MB / 0.6308 GB, free: 80.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.3089, allocations: 0 / 0.6308 GB, free: 80.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0009765/0.3099, allocations: 410.6 kB / 0.6311 GB, free: 80.45 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order31.delta,order31.w,order31.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 (49): * Single equations (assignments): 48 * 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.007883/0.3177, allocations: 5.259 MB / 0.6363 GB, free: 78.61 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003575/0.3213, allocations: 2.211 MB / 0.6384 GB, free: 77.85 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.3213, allocations: 0 / 0.6384 GB, free: 77.85 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002334/0.3237, allocations: 1.448 MB / 0.6399 GB, free: 77.09 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005141/0.3242, allocations: 80.27 kB / 0.6399 GB, free: 77.03 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01769/0.3419, allocations: 14.08 MB / 0.6537 GB, free: 63.97 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002317/0.3421, allocations: 450.2 kB / 0.6541 GB, free: 63.5 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002148/0.3423, allocations: 77.92 kB / 0.6542 GB, free: 63.42 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000254/0.3426, allocations: 368.4 kB / 0.6545 GB, free: 63.06 MB / 0.5105 GB Notification: Performance of SimCode: time 9.82e-07/0.3426, allocations: 0 / 0.6545 GB, free: 63.06 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03533/0.3779, allocations: 33.35 MB / 0.6871 GB, free: 29.89 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.875/8.253, allocations: 4 kB / 0.6871 GB, free: 29.89 MB / 0.5105 GB " [Timeout remaining time 652] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.957243412733078] Failed to read output from testmodel.py, exit status != 0: 8.350020098499954 8.356106394 8.342017397 Calling exit ...