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.001583/0.001583, allocations: 96.73 kB / 18.98 MB, free: 2.754 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.522/1.522, allocations: 230.7 MB / 252.7 MB, free: 8.031 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.001665/0.001665, allocations: 212.8 kB / 309.3 MB, free: 2.918 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.6174/0.6174, allocations: 107.2 MB / 472.9 MB, free: 4.516 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.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.002527/0.002527, allocations: 79.88 kB / 0.6331 GB, free: 5.086 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5314/0.5339, allocations: 80.15 MB / 0.7114 GB, free: 4.285 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.TwoWindingTransformer_Test): time 0.005088/0.539, allocations: 3.958 MB / 0.7153 GB, free: 1.586 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00329/0.5423, allocations: 1.423 MB / 0.7166 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004441/0.5428, allocations: 7.969 kB / 0.7167 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004711/0.5432, allocations: 140 kB / 0.7168 GB, free: 0.543 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001607/0.5448, allocations: 0.6021 MB / 0.7174 GB, free: 164 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008627/0.5457, allocations: 375 kB / 0.7177 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001155/0.5469, allocations: 0.8582 MB / 0.7186 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002934/0.5471, allocations: 118.4 kB / 0.7187 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006507/0.5478, allocations: 386.8 kB / 0.7191 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006102/0.5484, allocations: 418.2 kB / 0.7195 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.987e-05/0.5485, allocations: 62.97 kB / 0.7195 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000539/0.549, allocations: 208.9 kB / 0.7197 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000183/0.5492, allocations: 169.4 kB / 0.7199 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003421/0.5496, allocations: 315.5 kB / 0.7202 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001212/0.5508, allocations: 0.9746 MB / 0.7211 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.5508, allocations: 1.219 kB / 0.7211 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.634e-06/0.5508, allocations: 0 / 0.7211 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.137e-05/0.5508, allocations: 0 / 0.7211 GB, free: 14.33 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.004963/0.5558, allocations: 1.492 MB / 0.7226 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/0.5558, allocations: 10.31 kB / 0.7226 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001269/0.5559, allocations: 83.89 kB / 0.7227 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003378/0.5593, allocations: 0.5038 MB / 0.7232 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00113/0.5604, allocations: 492.4 kB / 0.7236 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001564/0.5606, allocations: 108.4 kB / 0.7237 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/0.5607, allocations: 43.66 kB / 0.7238 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001182/0.5619, allocations: 0.5475 MB / 0.7243 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/0.5619, allocations: 0 / 0.7243 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.46e-05/0.562, allocations: 14.19 kB / 0.7243 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.562, allocations: 11.03 kB / 0.7243 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001138/0.5631, allocations: 0.542 MB / 0.7249 GB, free: 12.54 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.003835/0.567, allocations: 1.567 MB / 0.7264 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001312/0.5683, allocations: 491.4 kB / 0.7269 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007277/0.569, allocations: 330.4 kB / 0.7272 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.5e-05/0.5691, allocations: 11.97 kB / 0.7272 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.406e-05/0.5691, allocations: 42.36 kB / 0.7272 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=54): time 3.046e-06/0.5691, allocations: 0 / 0.7272 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=54): time 0.01266/0.5818, allocations: 2.907 MB / 0.7301 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.76e-05/0.5819, allocations: 58.02 kB / 0.7301 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001104/0.583, allocations: 0.6263 MB / 0.7307 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.00014/0.5831, allocations: 36.45 kB / 0.7308 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002845/0.5834, allocations: 311.7 kB / 0.7311 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002612/0.5836, allocations: 214.9 kB / 0.7313 GB, free: 9.75 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002892/0.5839, allocations: 144.4 kB / 0.7314 GB, free: 9.66 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002122/0.5842, allocations: 379.2 kB / 0.7318 GB, free: 9.297 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008173/0.585, allocations: 389.2 kB / 0.7321 GB, free: 9.102 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009241/0.5859, allocations: 476.4 kB / 0.7326 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01313/0.599, allocations: 2.873 MB / 0.7354 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/0.599, allocations: 0 / 0.7354 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.006734/0.6058, allocations: 2.118 MB / 0.7375 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.112e-05/0.6058, allocations: 6.469 kB / 0.7375 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.6058, allocations: 5.344 kB / 0.7375 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003608/0.6094, allocations: 0.9149 MB / 0.7384 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007077/0.6101, allocations: 122.4 kB / 0.7385 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01278/0.6229, allocations: 5.267 MB / 0.7436 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00109/0.624, allocations: 81.56 kB / 0.7437 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.457e-05/0.6241, allocations: 29.83 kB / 0.7437 GB, free: 2.348 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.0004237/0.6245, allocations: 198.6 kB / 0.7439 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001631/0.6247, allocations: 77.25 kB / 0.744 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006256/0.6309, allocations: 1.886 MB / 0.7459 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.525e-05/0.6309, allocations: 5.531 kB / 0.7459 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.6309, allocations: 0 / 0.7459 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.729e-05/0.6309, allocations: 5.234 kB / 0.7459 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007861/0.6388, allocations: 2.524 MB / 0.7483 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-05/0.6388, allocations: 7.922 kB / 0.7483 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003386/0.6392, allocations: 53.55 kB / 0.7484 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003348/0.6425, allocations: 0.8588 MB / 0.7492 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.45e-05/0.6426, allocations: 6.562 kB / 0.7492 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01097/0.6536, allocations: 4.671 MB / 0.7538 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.6536, allocations: 0 / 0.7538 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007135/0.6607, allocations: 2.383 MB / 0.7561 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003403/0.661, allocations: 83.41 kB / 0.7562 GB, free: 8.977 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001144/0.6612, allocations: 12 kB / 0.7562 GB, free: 8.965 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005555/0.6617, allocations: 35.78 kB / 0.7562 GB, free: 8.934 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000322/0.662, allocations: 96.33 kB / 0.7563 GB, free: 8.84 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-05/0.6621, allocations: 12 kB / 0.7563 GB, free: 8.828 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006019/0.6627, allocations: 435.1 kB / 0.7568 GB, free: 8.41 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6627, allocations: 3.938 kB / 0.7568 GB, free: 8.406 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009552/0.6636, allocations: 271.8 kB / 0.757 GB, free: 8.141 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.00772/0.6713, allocations: 2.938 MB / 0.7599 GB, free: 5.172 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00401/0.6754, allocations: 1.312 MB / 0.7612 GB, free: 3.852 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.6754, allocations: 0 / 0.7612 GB, free: 3.852 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002536/0.6779, allocations: 0.8097 MB / 0.762 GB, free: 3.023 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008021/0.6787, allocations: 64.88 kB / 0.762 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02122/0.6999, allocations: 8.455 MB / 0.7703 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004385/0.7004, allocations: 314 kB / 0.7706 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003132/0.7007, allocations: 60.81 kB / 0.7706 GB, free: 9.988 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004465/0.7011, allocations: 252.4 kB / 0.7709 GB, free: 9.742 MB / 0.5294 GB Notification: Performance of SimCode: time 1.593e-06/0.7011, allocations: 3.938 kB / 0.7709 GB, free: 9.738 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06748/0.7686, allocations: 20.84 MB / 0.7912 GB, free: 5.051 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.99/14.76, allocations: 10.34 kB / 0.7912 GB, free: 5.047 MB / 0.545 GB " [Timeout remaining time 645] (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 & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Branches.PSAT.TwoWindingTransformer_Test_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 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: 18.47605531697627] Failed to read output from testmodel.py, exit status != 0: 14.891296784044243 14.912478982 14.357445577 Calling exit ...