Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.0007082/0.0007082, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.8328/0.8328, allocations: 177.1 MB / 199.4 MB, free: 5.938 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.0009832/0.0009832, allocations: 160.6 kB / 256 MB, free: 13.34 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.2579/0.2579, allocations: 80.37 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_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 0.555 GB, free: 12.58 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.854e-06/9.116e-06, allocations: 2.281 kB / 0.555 GB, free: 12.57 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.004266/0.004275, allocations: 5.722 MB / 0.5606 GB, free: 6.82 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002474/0.006749, allocations: 1.888 MB / 0.5624 GB, free: 4.93 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000411/0.00716, allocations: 15.94 kB / 0.5624 GB, free: 4.914 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003786/0.007539, allocations: 226 kB / 0.5626 GB, free: 4.691 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001161/0.0087, allocations: 0.7755 MB / 0.5634 GB, free: 3.914 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000849/0.009549, allocations: 0.6314 MB / 0.564 GB, free: 3.289 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001042/0.01059, allocations: 1.467 MB / 0.5654 GB, free: 1.816 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002637/0.01085, allocations: 216.8 kB / 0.5656 GB, free: 1.594 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006048/0.01146, allocations: 0.8415 MB / 0.5665 GB, free: 0.75 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009199/0.01238, allocations: 0.5724 MB / 0.567 GB, free: 180 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004568/0.01284, allocations: 100 kB / 0.5671 GB, free: 80 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006022/0.01344, allocations: 255.7 kB / 0.5674 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001764/0.01361, allocations: 286.6 kB / 0.5676 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003605/0.01398, allocations: 418.6 kB / 0.568 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001467/0.01544, allocations: 1.58 MB / 0.5696 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.01545, allocations: 0 / 0.5696 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.403e-06/0.01545, allocations: 0 / 0.5696 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.639e-05/0.01549, allocations: 4 kB / 0.5696 GB, free: 13.55 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.004609/0.0201, allocations: 2.534 MB / 0.5721 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.02015, allocations: 12.03 kB / 0.5721 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001304/0.02028, allocations: 126.8 kB / 0.5722 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002483/0.02276, allocations: 0.8225 MB / 0.573 GB, free: 10 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009931/0.02375, allocations: 0.7326 MB / 0.5737 GB, free: 9.223 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002088/0.02396, allocations: 307.6 kB / 0.574 GB, free: 8.875 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001201/0.02408, allocations: 80 kB / 0.5741 GB, free: 8.797 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001399/0.02548, allocations: 1.077 MB / 0.5751 GB, free: 7.711 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.0255, allocations: 0 / 0.5751 GB, free: 7.711 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.164e-05/0.02556, allocations: 28 kB / 0.5752 GB, free: 7.684 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/0.02557, allocations: 23.94 kB / 0.5752 GB, free: 7.66 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001505/0.02707, allocations: 1.117 MB / 0.5763 GB, free: 6.543 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.003511/0.03058, allocations: 2.611 MB / 0.5788 GB, free: 3.891 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001203/0.03179, allocations: 0.8809 MB / 0.5797 GB, free: 3.004 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009076/0.0327, allocations: 0.707 MB / 0.5804 GB, free: 2.293 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.86e-05/0.03277, allocations: 13 kB / 0.5804 GB, free: 2.281 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.0328, allocations: 47.56 kB / 0.5804 GB, free: 2.227 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=97): time 2.495e-06/0.0328, allocations: 4 kB / 0.5804 GB, free: 2.223 MB / 0.4948 GB Notification: Performance of matching and sorting (n=97): time 0.01269/0.04549, allocations: 6.509 MB / 0.5868 GB, free: 11.69 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/0.04554, allocations: 64.41 kB / 0.5869 GB, free: 11.62 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008598/0.0464, allocations: 0.9087 MB / 0.5877 GB, free: 10.69 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000113/0.04651, allocations: 41.7 kB / 0.5878 GB, free: 10.64 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002632/0.04677, allocations: 0.5053 MB / 0.5883 GB, free: 10.13 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002755/0.04705, allocations: 356.9 kB / 0.5886 GB, free: 9.781 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002489/0.0473, allocations: 198.8 kB / 0.5888 GB, free: 9.578 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.897e-05/0.04739, allocations: 361.9 kB / 0.5891 GB, free: 9.219 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009972/0.04838, allocations: 0.717 MB / 0.5898 GB, free: 8.504 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001047/0.04943, allocations: 0.8462 MB / 0.5907 GB, free: 7.629 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009699/0.05913, allocations: 4.936 MB / 0.5955 GB, free: 2.66 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/0.05914, allocations: 0 / 0.5955 GB, free: 2.66 MB / 0.5105 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.1992/0.2583, allocations: 4.254 MB / 0.5996 GB, free: 91.82 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.931e-05/0.2583, allocations: 6.406 kB / 0.5997 GB, free: 91.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.2583, allocations: 3.156 kB / 0.5997 GB, free: 91.82 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003277/0.2616, allocations: 1.804 MB / 0.6014 GB, free: 91.81 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006584/0.2623, allocations: 206.2 kB / 0.6016 GB, free: 91.81 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01172/0.274, allocations: 9.021 MB / 0.6104 GB, free: 88.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008862/0.2749, allocations: 180.2 kB / 0.6106 GB, free: 88.27 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.363e-05/0.275, allocations: 39.69 kB / 0.6106 GB, free: 88.26 MB / 0.5105 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.0003487/0.2753, allocations: 243.1 kB / 0.6109 GB, free: 88.07 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000132/0.2754, allocations: 128.9 kB / 0.611 GB, free: 88.02 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00712/0.2826, allocations: 3.986 MB / 0.6149 GB, free: 87.13 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.848e-06/0.2826, allocations: 10.62 kB / 0.6149 GB, free: 87.13 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.2826, allocations: 0.5625 kB / 0.6149 GB, free: 87.13 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/0.2826, allocations: 4.406 kB / 0.6149 GB, free: 87.13 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008371/0.291, allocations: 4.973 MB / 0.6198 GB, free: 85.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/0.291, allocations: 0.5156 kB / 0.6198 GB, free: 85.71 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004123/0.2914, allocations: 131.2 kB / 0.6199 GB, free: 85.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003189/0.2946, allocations: 1.748 MB / 0.6216 GB, free: 85.39 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.873e-05/0.2947, allocations: 17.47 kB / 0.6216 GB, free: 85.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01018/0.3048, allocations: 7.777 MB / 0.6292 GB, free: 81.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.3048, allocations: 0 / 0.6292 GB, free: 81.64 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008175/0.313, allocations: 4.94 MB / 0.634 GB, free: 80.05 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003102/0.3133, allocations: 136.3 kB / 0.6342 GB, free: 79.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/0.3134, allocations: 16.12 kB / 0.6342 GB, free: 79.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005229/0.314, allocations: 110.2 kB / 0.6343 GB, free: 79.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004811/0.3144, allocations: 224 kB / 0.6345 GB, free: 79.75 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.332e-05/0.3145, allocations: 28.17 kB / 0.6345 GB, free: 79.73 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005761/0.3151, allocations: 0.608 MB / 0.6351 GB, free: 79.38 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.4e-07/0.3151, allocations: 1.562 kB / 0.6351 GB, free: 79.38 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001084/0.3161, allocations: 445.5 kB / 0.6355 GB, free: 79.33 MB / 0.5105 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.007572/0.3237, allocations: 5.526 MB / 0.6409 GB, free: 76.27 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00357/0.3273, allocations: 2.383 MB / 0.6433 GB, free: 74.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3273, allocations: 0 / 0.6433 GB, free: 74.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002276/0.3296, allocations: 1.524 MB / 0.6447 GB, free: 73.17 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005633/0.3301, allocations: 84.42 kB / 0.6448 GB, free: 73.08 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0192/0.3493, allocations: 15.26 MB / 0.6597 GB, free: 57.68 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002743/0.3496, allocations: 0.5059 MB / 0.6602 GB, free: 57.14 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002708/0.3499, allocations: 90.83 kB / 0.6603 GB, free: 57.05 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003164/0.3502, allocations: 452.3 kB / 0.6607 GB, free: 56.61 MB / 0.5105 GB Notification: Performance of SimCode: time 1.382e-06/0.3502, allocations: 0 / 0.6607 GB, free: 56.61 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03901/0.3892, allocations: 36.23 MB / 0.6961 GB, free: 20.59 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.986/8.375, allocations: 0 / 0.6961 GB, free: 20.59 MB / 0.5105 GB " [Timeout remaining time 652] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_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_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.499177138321102] Failed to read output from testmodel.py, exit status != 0: 8.476003262214363 8.481876879 8.465055566 Calling exit ...