Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.00138/0.00138, 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.407/1.407, allocations: 230.6 MB / 252.7 MB, free: 8.105 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.001585/0.001585, allocations: 221.2 kB / 309.2 MB, free: 2.957 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.5676/0.5676, allocations: 107.2 MB / 472.8 MB, free: 4.5 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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_OpenIPSL_Tests_Branches_PSAT_TwoWindingTransformer_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Branches.PSAT.TwoWindingTransformer_Test,fileNamePrefix="OpenIPSL_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.003961/0.003961, allocations: 88.28 kB / 0.633 GB, free: 5.051 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4519/0.4559, allocations: 80.13 MB / 0.7113 GB, free: 4.488 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.TwoWindingTransformer_Test): time 0.00411/0.46, allocations: 3.971 MB / 0.7152 GB, free: 1.777 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002287/0.4623, allocations: 1.415 MB / 0.7165 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002488/0.4625, allocations: 9.188 kB / 0.7165 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003581/0.4629, allocations: 145.2 kB / 0.7167 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001241/0.4641, allocations: 0.5992 MB / 0.7173 GB, free: 364 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006813/0.4648, allocations: 365.3 kB / 0.7176 GB, free: 176 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008478/0.4657, allocations: 0.8596 MB / 0.7185 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002527/0.4659, allocations: 118.2 kB / 0.7186 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005139/0.4664, allocations: 388.2 kB / 0.7189 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005713/0.467, allocations: 421.1 kB / 0.7193 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.077e-05/0.4671, allocations: 61.5 kB / 0.7194 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004236/0.4675, allocations: 212.2 kB / 0.7196 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001754/0.4677, allocations: 170.4 kB / 0.7198 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003054/0.468, allocations: 307.5 kB / 0.7201 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001229/0.4692, allocations: 0.976 MB / 0.721 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.4692, allocations: 0 / 0.721 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.485e-06/0.4692, allocations: 0.7031 kB / 0.721 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.034e-05/0.4692, allocations: 0 / 0.721 GB, free: 14.54 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.004617/0.4739, allocations: 1.492 MB / 0.7225 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.4739, allocations: 10.34 kB / 0.7225 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001142/0.474, allocations: 87.5 kB / 0.7226 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003269/0.4773, allocations: 0.5094 MB / 0.7231 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009738/0.4783, allocations: 487.1 kB / 0.7235 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001408/0.4784, allocations: 107.4 kB / 0.7236 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.636e-05/0.4785, allocations: 45.75 kB / 0.7237 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001098/0.4796, allocations: 0.5466 MB / 0.7242 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.4796, allocations: 0 / 0.7242 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.76e-05/0.4797, allocations: 19.14 kB / 0.7242 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.719e-06/0.4797, allocations: 10.62 kB / 0.7242 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001067/0.4807, allocations: 0.5365 MB / 0.7248 GB, free: 12.73 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.003402/0.4841, allocations: 1.577 MB / 0.7263 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001207/0.4853, allocations: 481.1 kB / 0.7268 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007199/0.4861, allocations: 339.3 kB / 0.7271 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.052e-05/0.4861, allocations: 8.047 kB / 0.7271 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.655e-05/0.4862, allocations: 38.19 kB / 0.7271 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=54): time 2.104e-06/0.4862, allocations: 0 / 0.7271 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=54): time 0.0121/0.4983, allocations: 2.907 MB / 0.73 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.801e-05/0.4983, allocations: 57.34 kB / 0.73 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009846/0.4993, allocations: 0.6194 MB / 0.7306 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001131/0.4994, allocations: 35.86 kB / 0.7307 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002775/0.4997, allocations: 319.6 kB / 0.731 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002463/0.4999, allocations: 203.7 kB / 0.7312 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000277/0.5002, allocations: 148.5 kB / 0.7313 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002095/0.5004, allocations: 389.8 kB / 0.7317 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007726/0.5012, allocations: 378.2 kB / 0.732 GB, free: 9.273 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008627/0.5021, allocations: 473.5 kB / 0.7325 GB, free: 8.996 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01302/0.5151, allocations: 2.875 MB / 0.7353 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.907e-06/0.5151, allocations: 0 / 0.7353 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00662/0.5217, allocations: 2.122 MB / 0.7374 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/0.5217, allocations: 6.594 kB / 0.7374 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.5218, allocations: 1.219 kB / 0.7374 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00344/0.5252, allocations: 0.9306 MB / 0.7383 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006305/0.5258, allocations: 117.8 kB / 0.7384 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01235/0.5382, allocations: 5.278 MB / 0.7435 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009882/0.5392, allocations: 85.42 kB / 0.7436 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.148e-05/0.5392, allocations: 26.27 kB / 0.7436 GB, free: 2.504 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.0003883/0.5396, allocations: 190.9 kB / 0.7438 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001517/0.5398, allocations: 76 kB / 0.7439 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006163/0.5459, allocations: 1.887 MB / 0.7457 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.33e-05/0.5459, allocations: 5.625 kB / 0.7458 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.546, allocations: 0 / 0.7458 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.328e-05/0.546, allocations: 5.047 kB / 0.7458 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007483/0.5534, allocations: 2.524 MB / 0.7482 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.5535, allocations: 4 kB / 0.7482 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003266/0.5538, allocations: 52.11 kB / 0.7483 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003182/0.557, allocations: 0.856 MB / 0.7491 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.712e-05/0.557, allocations: 18.58 kB / 0.7491 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01045/0.5675, allocations: 4.671 MB / 0.7537 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.828e-06/0.5675, allocations: 3.938 kB / 0.7537 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007276/0.5748, allocations: 2.371 MB / 0.756 GB, free: 9.191 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003024/0.5751, allocations: 75.42 kB / 0.7561 GB, free: 9.117 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/0.5752, allocations: 23.92 kB / 0.7561 GB, free: 9.094 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000558/0.5757, allocations: 39.91 kB / 0.7561 GB, free: 9.055 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002978/0.576, allocations: 96.3 kB / 0.7562 GB, free: 8.961 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-05/0.5761, allocations: 16 kB / 0.7562 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006017/0.5767, allocations: 435.1 kB / 0.7567 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.5767, allocations: 0 / 0.7567 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000932/0.5776, allocations: 271.8 kB / 0.7569 GB, free: 8.262 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.00751/0.5851, allocations: 2.942 MB / 0.7598 GB, free: 5.289 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003616/0.5887, allocations: 1.3 MB / 0.7611 GB, free: 3.973 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.135e-06/0.5887, allocations: 0 / 0.7611 GB, free: 3.973 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002411/0.5911, allocations: 0.8136 MB / 0.7619 GB, free: 3.148 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005945/0.5917, allocations: 55 kB / 0.7619 GB, free: 3.09 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01987/0.6116, allocations: 8.467 MB / 0.7702 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003483/0.612, allocations: 321.8 kB / 0.7705 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002776/0.6122, allocations: 56.83 kB / 0.7705 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003842/0.6126, allocations: 251.3 kB / 0.7708 GB, free: 9.855 MB / 0.5294 GB Notification: Performance of SimCode: time 9.12e-07/0.6126, allocations: 0 / 0.7708 GB, free: 9.855 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05611/0.6687, allocations: 20.72 MB / 0.791 GB, free: 5.27 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.89/13.56, allocations: 2.188 kB / 0.791 GB, free: 5.27 MB / 0.545 GB " [Timeout remaining time 646] (rm -f OpenIPSL_OpenIPSL.Tests.Branches.PSAT.TwoWindingTransformer_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Branches.PSAT.TwoWindingTransformer_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Branches.PSAT.TwoWindingTransformer_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Branches.PSAT.TwoWindingTransformer_Test.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Branches_PSAT_TwoWindingTransformer_Test_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Branches_PSAT_TwoWindingTransformer_Test.fmu > OpenIPSL_OpenIPSL.Tests.Branches.PSAT.TwoWindingTransformer_Test.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.91337093571201] Failed to read output from testmodel.py, exit status != 0: 13.722278738860041 13.746184893 13.272303593 Calling exit ...