Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Branches.PSAT.TwoWindingTransformer_Test.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.001346/0.001346, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.494/1.494, allocations: 230.6 MB / 252.7 MB, free: 8.078 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.001704/0.001704, allocations: 220.8 kB / 309.2 MB, free: 2.941 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.609/0.609, allocations: 107.3 MB / 473 MB, free: 4.438 MB / 334.1 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.Branches.PSAT.TwoWindingTransformer_Test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Branches_PSAT_TwoWindingTransformer_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Branches.PSAT.TwoWindingTransformer_Test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Branches_PSAT_TwoWindingTransformer_Test",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.002587/0.002587, allocations: 87.88 kB / 0.6332 GB, free: 4.949 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4485/0.4511, allocations: 80.16 MB / 0.7115 GB, free: 4.188 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.TwoWindingTransformer_Test): time 0.004387/0.4555, allocations: 3.963 MB / 0.7154 GB, free: 1.484 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002729/0.4582, allocations: 1.418 MB / 0.7168 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003589/0.4586, allocations: 10.91 kB / 0.7168 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003752/0.4589, allocations: 138.4 kB / 0.7169 GB, free: 456 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001486/0.4604, allocations: 0.6162 MB / 0.7175 GB, free: 52 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008887/0.4613, allocations: 360.2 kB / 0.7178 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001075/0.4624, allocations: 0.858 MB / 0.7187 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002655/0.4627, allocations: 122.7 kB / 0.7188 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006098/0.4633, allocations: 390.1 kB / 0.7192 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006355/0.4639, allocations: 416.1 kB / 0.7196 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001032/0.464, allocations: 67.16 kB / 0.7196 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005034/0.4645, allocations: 205 kB / 0.7198 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001775/0.4647, allocations: 170.6 kB / 0.72 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003209/0.465, allocations: 312.8 kB / 0.7203 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001139/0.4661, allocations: 0.9757 MB / 0.7212 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4662, allocations: 0 / 0.7212 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4662, allocations: 3.938 kB / 0.7212 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.134e-05/0.4662, allocations: 0 / 0.7212 GB, free: 14.23 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.00462/0.4708, allocations: 1.491 MB / 0.7227 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.4708, allocations: 14.23 kB / 0.7227 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000114/0.4709, allocations: 83.19 kB / 0.7228 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00329/0.4742, allocations: 0.5068 MB / 0.7233 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009942/0.4752, allocations: 486.5 kB / 0.7237 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001407/0.4754, allocations: 103.4 kB / 0.7238 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.055e-05/0.4755, allocations: 45.56 kB / 0.7239 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001142/0.4766, allocations: 0.5474 MB / 0.7244 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.4766, allocations: 0 / 0.7244 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.872e-05/0.4767, allocations: 19.31 kB / 0.7244 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.849e-06/0.4767, allocations: 10.03 kB / 0.7245 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001103/0.4778, allocations: 0.537 MB / 0.725 GB, free: 12.43 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.003518/0.4813, allocations: 1.571 MB / 0.7265 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001239/0.4825, allocations: 475.4 kB / 0.727 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007434/0.4833, allocations: 335.3 kB / 0.7273 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.902e-05/0.4834, allocations: 12.05 kB / 0.7273 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.742e-05/0.4834, allocations: 38.22 kB / 0.7273 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=54): time 2.324e-06/0.4834, allocations: 7.938 kB / 0.7273 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=54): time 0.01244/0.4958, allocations: 2.901 MB / 0.7302 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.863e-05/0.4959, allocations: 62.12 kB / 0.7302 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00119/0.4971, allocations: 0.6279 MB / 0.7308 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001744/0.4973, allocations: 35.08 kB / 0.7309 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002878/0.4975, allocations: 311.7 kB / 0.7312 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002669/0.4978, allocations: 210.9 kB / 0.7314 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002795/0.4981, allocations: 140.4 kB / 0.7315 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002219/0.4983, allocations: 383.2 kB / 0.7319 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008592/0.4992, allocations: 393 kB / 0.7323 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008972/0.5001, allocations: 473.3 kB / 0.7327 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01307/0.5131, allocations: 2.872 MB / 0.7355 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.636e-06/0.5132, allocations: 0 / 0.7355 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.006777/0.5199, allocations: 2.122 MB / 0.7376 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.017e-05/0.52, allocations: 5.969 kB / 0.7376 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.52, allocations: 1.094 kB / 0.7376 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003556/0.5235, allocations: 0.9188 MB / 0.7385 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007028/0.5242, allocations: 122 kB / 0.7386 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01283/0.5371, allocations: 5.275 MB / 0.7438 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001096/0.5382, allocations: 77.47 kB / 0.7438 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000153/0.5383, allocations: 35.2 kB / 0.7439 GB, free: 2.25 MB / 0.4981 GB Warning: Assuming fixed start value for the following 2 variables: order2_1.delta:VARIABLE(flow=false start = order2_1.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order2_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (75): * Single equations (assignments): 74 * 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 {(13,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0005262/0.5388, allocations: 193 kB / 0.744 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002632/0.5391, allocations: 80.73 kB / 0.7441 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006469/0.5456, allocations: 1.89 MB / 0.746 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.451e-05/0.5456, allocations: 5.469 kB / 0.746 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.5456, allocations: 0 / 0.746 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-05/0.5456, allocations: 5.141 kB / 0.746 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008253/0.5539, allocations: 2.515 MB / 0.7484 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.327e-05/0.5539, allocations: 1.219 kB / 0.7484 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003854/0.5543, allocations: 51.94 kB / 0.7485 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003441/0.5577, allocations: 0.8594 MB / 0.7493 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001137/0.5578, allocations: 10.56 kB / 0.7493 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01106/0.5689, allocations: 4.685 MB / 0.7539 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.5689, allocations: 4 kB / 0.7539 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007492/0.5764, allocations: 2.367 MB / 0.7562 GB, free: 8.934 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003575/0.5767, allocations: 91.47 kB / 0.7563 GB, free: 8.844 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002073/0.5769, allocations: 8 kB / 0.7563 GB, free: 8.836 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006918/0.5776, allocations: 39.95 kB / 0.7564 GB, free: 8.797 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003339/0.578, allocations: 92.33 kB / 0.7564 GB, free: 8.707 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.604e-05/0.578, allocations: 12 kB / 0.7565 GB, free: 8.695 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006805/0.5787, allocations: 435.1 kB / 0.7569 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5787, allocations: 0 / 0.7569 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001071/0.5798, allocations: 267.8 kB / 0.7571 GB, free: 8.016 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order2_1.delta,order2_1.w) * 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 (33): * Single equations (assignments): 32 * 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 {(13,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007731/0.5875, allocations: 2.946 MB / 0.76 GB, free: 5.043 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003906/0.5914, allocations: 1.308 MB / 0.7613 GB, free: 3.719 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.5914, allocations: 0 / 0.7613 GB, free: 3.719 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002533/0.5939, allocations: 0.8098 MB / 0.7621 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007258/0.5947, allocations: 52.88 kB / 0.7621 GB, free: 2.844 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02146/0.6161, allocations: 8.463 MB / 0.7704 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004077/0.6165, allocations: 321.8 kB / 0.7707 GB, free: 9.914 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000295/0.6168, allocations: 60.81 kB / 0.7708 GB, free: 9.855 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004189/0.6172, allocations: 247.3 kB / 0.771 GB, free: 9.613 MB / 0.5294 GB Notification: Performance of SimCode: time 1.824e-06/0.6172, allocations: 0 / 0.771 GB, free: 9.613 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06226/0.6795, allocations: 20.72 MB / 0.7912 GB, free: 5.027 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.35/14.03, allocations: 4 kB / 0.7912 GB, free: 5.023 MB / 0.545 GB " [Timeout remaining time 646] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Branches.PSAT.TwoWindingTransformer_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Branches.PSAT.TwoWindingTransformer_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Branches.PSAT.TwoWindingTransformer_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Branches.PSAT.TwoWindingTransformer_Test.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Branches_PSAT_TwoWindingTransformer_Test_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Branches_PSAT_TwoWindingTransformer_Test.fmu > OpenIPSL_dev_OpenIPSL.Tests.Branches.PSAT.TwoWindingTransformer_Test.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.60306462785229] Failed to read output from testmodel.py, exit status != 0: 14.160180510953069 14.176104366 13.706750204 Calling exit ...