Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_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.001377/0.001377, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.468/1.468, allocations: 230.6 MB / 252.6 MB, free: 8.32 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.001642/0.001642, allocations: 216.8 kB / 309.2 MB, free: 3.16 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.5829/0.5829, allocations: 101.3 MB / 467 MB, free: 10.35 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.Order4test2_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_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.002509/0.002509, allocations: 83.88 kB / 0.6244 GB, free: 12.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4604/0.4629, allocations: 78.6 MB / 0.7012 GB, free: 8.988 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.006106/0.469, allocations: 6.595 MB / 0.7076 GB, free: 4.477 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003704/0.4727, allocations: 2.016 MB / 0.7096 GB, free: 3.047 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007512/0.4734, allocations: 15.59 kB / 0.7096 GB, free: 3.043 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005532/0.474, allocations: 224.6 kB / 0.7098 GB, free: 2.922 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001756/0.4757, allocations: 0.7915 MB / 0.7106 GB, free: 2.383 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001403/0.4771, allocations: 0.6343 MB / 0.7112 GB, free: 2.051 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001677/0.4788, allocations: 1.441 MB / 0.7126 GB, free: 1.328 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003942/0.4792, allocations: 235.9 kB / 0.7129 GB, free: 1.199 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007944/0.48, allocations: 0.6125 MB / 0.7135 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007878/0.4808, allocations: 0.7411 MB / 0.7142 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001479/0.4809, allocations: 99.88 kB / 0.7143 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004799/0.4814, allocations: 254.6 kB / 0.7145 GB, free: 496 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002025/0.4816, allocations: 281.5 kB / 0.7148 GB, free: 304 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005309/0.4822, allocations: 0.6242 MB / 0.7154 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002185/0.4843, allocations: 1.55 MB / 0.7169 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.4843, allocations: 4 kB / 0.7169 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.513e-06/0.4843, allocations: 0 / 0.7169 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.563e-05/0.4844, allocations: 0 / 0.7169 GB, free: 15.15 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.008595/0.493, allocations: 2.555 MB / 0.7194 GB, free: 14 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.493, allocations: 9.047 kB / 0.7194 GB, free: 14 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000186/0.4932, allocations: 133.3 kB / 0.7196 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005305/0.4985, allocations: 0.8222 MB / 0.7204 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00147/0.5, allocations: 0.7254 MB / 0.7211 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003401/0.5003, allocations: 307.9 kB / 0.7214 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001596/0.5005, allocations: 82.61 kB / 0.7214 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002395/0.5029, allocations: 1.08 MB / 0.7225 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.5029, allocations: 4 kB / 0.7225 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.894e-05/0.503, allocations: 29.97 kB / 0.7225 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.832e-05/0.503, allocations: 18.66 kB / 0.7225 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002703/0.5057, allocations: 1.121 MB / 0.7236 GB, free: 12.16 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.006986/0.5127, allocations: 3.442 MB / 0.727 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002507/0.5152, allocations: 0.8828 MB / 0.7279 GB, free: 9.895 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001752/0.517, allocations: 0.711 MB / 0.7286 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001288/0.5171, allocations: 15.66 kB / 0.7286 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.59e-05/0.5171, allocations: 40.59 kB / 0.7286 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=98): time 2.906e-06/0.5171, allocations: 0 / 0.7286 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=98): time 0.02739/0.5445, allocations: 6.77 MB / 0.7352 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.394e-05/0.5446, allocations: 66.62 kB / 0.7353 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001446/0.546, allocations: 0.9047 MB / 0.7362 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003231/0.5463, allocations: 41.45 kB / 0.7362 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004552/0.5468, allocations: 0.5 MB / 0.7367 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004827/0.5473, allocations: 365.1 kB / 0.737 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004162/0.5477, allocations: 201.5 kB / 0.7372 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001715/0.5479, allocations: 360.6 kB / 0.7376 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0017/0.5496, allocations: 0.7343 MB / 0.7383 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001853/0.5514, allocations: 0.8563 MB / 0.7391 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02007/0.5715, allocations: 4.955 MB / 0.744 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.934e-06/0.5715, allocations: 0 / 0.744 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01433/0.5858, allocations: 4.256 MB / 0.7481 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.827e-05/0.5859, allocations: 6.875 kB / 0.7481 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.5859, allocations: 1.375 kB / 0.7481 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006317/0.5922, allocations: 1.726 MB / 0.7498 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001275/0.5935, allocations: 227.7 kB / 0.75 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02283/0.6163, allocations: 8.976 MB / 0.7588 GB, free: 5.117 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001869/0.6182, allocations: 175.2 kB / 0.759 GB, free: 4.945 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001477/0.6183, allocations: 47.98 kB / 0.759 GB, free: 4.898 MB / 0.5137 GB Warning: Assuming fixed start value for the following 1 variables: Generator.e1q:VARIABLE(start = Generator.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" 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 (117): * Single equations (assignments): 116 * 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 {(24,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0006316/0.6189, allocations: 245.6 kB / 0.7593 GB, free: 4.648 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000251/0.6192, allocations: 131.1 kB / 0.7594 GB, free: 4.52 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01373/0.6329, allocations: 3.979 MB / 0.7633 GB, free: 0.5234 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.931e-05/0.6329, allocations: 8 kB / 0.7633 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.165e-06/0.6329, allocations: 0 / 0.7633 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.719e-05/0.633, allocations: 3.984 kB / 0.7633 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01643/0.6494, allocations: 5.563 MB / 0.7687 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.107e-05/0.6494, allocations: 0 / 0.7687 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000882/0.6503, allocations: 131.8 kB / 0.7688 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006341/0.6566, allocations: 1.741 MB / 0.7705 GB, free: 8.945 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002207/0.6569, allocations: 20 kB / 0.7706 GB, free: 8.926 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01985/0.6767, allocations: 7.958 MB / 0.7783 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.6767, allocations: 0 / 0.7783 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0162/0.6929, allocations: 4.945 MB / 0.7832 GB, free: 11.88 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004937/0.6934, allocations: 135 kB / 0.7833 GB, free: 11.75 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002255/0.6936, allocations: 16 kB / 0.7833 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001068/0.6947, allocations: 111.9 kB / 0.7834 GB, free: 11.62 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000758/0.6955, allocations: 228.6 kB / 0.7836 GB, free: 11.39 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.533e-05/0.6955, allocations: 27.98 kB / 0.7836 GB, free: 11.37 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000887/0.6964, allocations: 0.5973 MB / 0.7842 GB, free: 10.76 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6964, allocations: 0 / 0.7842 GB, free: 10.76 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001391/0.6978, allocations: 447.5 kB / 0.7847 GB, free: 10.32 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Generator.delta,Generator.w,Generator.e1q,Generator.e1d) * 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 (65): * Single equations (assignments): 64 * 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.01653/0.7143, allocations: 5.515 MB / 0.79 GB, free: 4.773 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007255/0.7216, allocations: 2.369 MB / 0.7924 GB, free: 2.387 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.7216, allocations: 0 / 0.7924 GB, free: 2.387 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005111/0.7267, allocations: 1.523 MB / 0.7938 GB, free: 0.8477 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009744/0.7277, allocations: 90.86 kB / 0.7939 GB, free: 0.7617 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04128/0.769, allocations: 15.4 MB / 0.809 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008315/0.7698, allocations: 1.107 MB / 0.8101 GB, free: 32 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005129/0.7703, allocations: 90.94 kB / 0.8101 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006814/0.771, allocations: 447.3 kB / 0.8106 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of SimCode: time 1.263e-06/0.771, allocations: 4 kB / 0.8106 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08064/0.8516, allocations: 34.89 MB / 0.8446 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.7/19.55, allocations: 4.062 kB / 0.8446 GB, free: 12.73 MB / 0.6075 GB " [Timeout remaining time 640] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 23.301735414890572] Failed to read output from testmodel.py, exit status != 0: 19.688892594072968 19.705503177 19.217766557 Calling exit ...