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.00127/0.00127, allocations: 116.1 kB / 17.16 MB, free: 6 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.387/1.387, allocations: 230.6 MB / 250.5 MB, free: 9.219 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.001476/0.001476, allocations: 208.2 kB / 306.7 MB, free: 4.297 MB / 238.1 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.5486/0.5486, allocations: 101.3 MB / 464.1 MB, free: 12.31 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,fileNamePrefix="OpenIPSL_dev_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.002394/0.002394, allocations: 85.75 kB / 0.62 GB, free: 15.58 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.161, allocations: 78.56 MB / 0.6967 GB, free: 0.875 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.309/0.47, allocations: 6.512 MB / 0.7031 GB, free: 5.25 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004254/0.4742, allocations: 1.98 MB / 0.705 GB, free: 3.855 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001231/0.4755, allocations: 15.22 kB / 0.705 GB, free: 3.852 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005948/0.4761, allocations: 228.6 kB / 0.7052 GB, free: 3.727 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00181/0.4779, allocations: 0.778 MB / 0.706 GB, free: 3.207 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001282/0.4792, allocations: 0.6284 MB / 0.7066 GB, free: 2.895 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001477/0.4806, allocations: 1.433 MB / 0.708 GB, free: 2.18 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003544/0.481, allocations: 229.4 kB / 0.7082 GB, free: 2.051 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007424/0.4817, allocations: 0.6148 MB / 0.7088 GB, free: 1.75 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006779/0.4824, allocations: 0.7483 MB / 0.7095 GB, free: 1.379 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001292/0.4825, allocations: 100.2 kB / 0.7096 GB, free: 1.379 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004959/0.483, allocations: 248.4 kB / 0.7099 GB, free: 1.336 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002019/0.4832, allocations: 287.5 kB / 0.7102 GB, free: 1.145 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003976/0.4836, allocations: 0.6202 MB / 0.7108 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00175/0.4854, allocations: 1.549 MB / 0.7123 GB, free: 4 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.4854, allocations: 0 / 0.7123 GB, free: 4 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.4854, allocations: 3.938 kB / 0.7123 GB, free: 0 / 494.1 MB Notification: Performance of Transformations before backend: time 3.037e-05/0.4854, allocations: 48 / 0.7123 GB, free: 0 / 494.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.008752/0.4942, allocations: 2.627 MB / 0.7148 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.4942, allocations: 9.312 kB / 0.7148 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.682e-05/0.4942, allocations: 26.62 kB / 0.7149 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001703/0.4944, allocations: 127.1 kB / 0.715 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005387/0.4998, allocations: 0.8295 MB / 0.7158 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001681/0.5015, allocations: 0.793 MB / 0.7166 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000334/0.5018, allocations: 265.5 kB / 0.7168 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001685/0.502, allocations: 74.22 kB / 0.7169 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002558/0.5045, allocations: 1.079 MB / 0.718 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/0.5046, allocations: 0.75 kB / 0.718 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001017/0.5047, allocations: 34.03 kB / 0.718 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.213e-05/0.5047, allocations: 19.03 kB / 0.718 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002957/0.5076, allocations: 1.123 MB / 0.7191 GB, free: 12.92 MB / 0.4981 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.007517/0.5152, allocations: 3.447 MB / 0.7225 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002529/0.5177, allocations: 1.334 MB / 0.7238 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002005/0.5197, allocations: 0.7014 MB / 0.7245 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001365/0.5198, allocations: 16.38 kB / 0.7245 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.756e-05/0.5199, allocations: 51.92 kB / 0.7245 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=97): time 3.336e-06/0.5199, allocations: 0.6875 kB / 0.7245 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=97): time 0.0276/0.5475, allocations: 6.578 MB / 0.7309 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.632e-05/0.5475, allocations: 65.59 kB / 0.731 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00174/0.5493, allocations: 0.9089 MB / 0.7319 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003259/0.5496, allocations: 41.14 kB / 0.7319 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005237/0.5501, allocations: 0.502 MB / 0.7324 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006891/0.5508, allocations: 359.3 kB / 0.7328 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006607/0.5515, allocations: 204 kB / 0.733 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002045/0.5517, allocations: 352.1 kB / 0.7333 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001909/0.5536, allocations: 0.7183 MB / 0.734 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002009/0.5556, allocations: 0.8504 MB / 0.7348 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02109/0.5767, allocations: 4.948 MB / 0.7397 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.036e-05/0.5767, allocations: 5.938 kB / 0.7397 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01512/0.5918, allocations: 4.247 MB / 0.7438 GB, free: 48 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.655e-05/0.5919, allocations: 12.34 kB / 0.7438 GB, free: 44 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.584e-05/0.5919, allocations: 2.375 kB / 0.7438 GB, free: 44 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00696/0.5988, allocations: 1.806 MB / 0.7456 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001205/0.6, allocations: 213.3 kB / 0.7458 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02494/0.625, allocations: 9.334 MB / 0.7549 GB, free: 6.051 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001972/0.627, allocations: 179.2 kB / 0.7551 GB, free: 5.875 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003245/0.6273, allocations: 47.92 kB / 0.7551 GB, free: 5.828 MB / 0.5137 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.0009633/0.6282, allocations: 243.6 kB / 0.7554 GB, free: 5.586 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005217/0.6288, allocations: 127.2 kB / 0.7555 GB, free: 5.461 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01447/0.6432, allocations: 3.987 MB / 0.7594 GB, free: 1.457 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.808e-05/0.6433, allocations: 8 kB / 0.7594 GB, free: 1.449 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.6433, allocations: 0 / 0.7594 GB, free: 1.449 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-05/0.6433, allocations: 3.984 kB / 0.7594 GB, free: 1.445 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01764/0.6609, allocations: 5.583 MB / 0.7648 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.596e-05/0.6609, allocations: 3.984 kB / 0.7648 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008396/0.6618, allocations: 123.9 kB / 0.765 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0063/0.6681, allocations: 1.753 MB / 0.7667 GB, free: 9.844 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002331/0.6683, allocations: 27.86 kB / 0.7667 GB, free: 9.82 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0207/0.689, allocations: 8.081 MB / 0.7746 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.689, allocations: 0 / 0.7746 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01707/0.7061, allocations: 4.945 MB / 0.7794 GB, free: 12.62 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004938/0.7066, allocations: 204.1 kB / 0.7796 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004413/0.707, allocations: 27.92 kB / 0.7796 GB, free: 12.38 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001355/0.7084, allocations: 107.9 kB / 0.7797 GB, free: 12.27 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008833/0.7093, allocations: 220.6 kB / 0.78 GB, free: 12.06 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001512/0.7094, allocations: 24 kB / 0.78 GB, free: 12.04 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001038/0.7104, allocations: 0.609 MB / 0.7806 GB, free: 11.42 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.7104, allocations: 0 / 0.7806 GB, free: 11.42 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001778/0.7122, allocations: 451.5 kB / 0.781 GB, free: 10.98 MB / 0.545 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.01688/0.7291, allocations: 5.516 MB / 0.7864 GB, free: 5.426 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008187/0.7373, allocations: 2.393 MB / 0.7887 GB, free: 3.02 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.7373, allocations: 0 / 0.7887 GB, free: 3.02 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005352/0.7427, allocations: 1.524 MB / 0.7902 GB, free: 1.477 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001236/0.7439, allocations: 87.33 kB / 0.7903 GB, free: 1.391 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04338/0.7873, allocations: 15.34 MB / 0.8053 GB, free: 1.859 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009006/0.7882, allocations: 1.103 MB / 0.8064 GB, free: 0.7305 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005003/0.7887, allocations: 90.88 kB / 0.8064 GB, free: 0.6367 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007214/0.7894, allocations: 455.3 kB / 0.8069 GB, free: 196 kB / 0.5606 GB Notification: Performance of SimCode: time 1.172e-06/0.7894, allocations: 0 / 0.8069 GB, free: 196 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07049/0.8599, allocations: 34.26 MB / 0.8403 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.09/17.95, allocations: 17.72 kB / 0.8404 GB, free: 14.1 MB / 0.6075 GB " [Timeout remaining time 642] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.562222497013863] Failed to read output from testmodel.py, exit status != 0: 18.119858997000847 18.134131621 17.645833946 Calling exit ...