Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Branches.PSAT.ThreeWindingTransformer_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.001458/0.001458, 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.478/1.478, allocations: 230.6 MB / 252.6 MB, free: 8.324 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.001831/0.001831, allocations: 209 kB / 309.2 MB, free: 3.156 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.5862/0.5862, allocations: 107.2 MB / 472.8 MB, free: 4.758 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.ThreeWindingTransformer_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Branches_PSAT_ThreeWindingTransformer_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Branches.PSAT.ThreeWindingTransformer_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Branches_PSAT_ThreeWindingTransformer_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.002581/0.002581, allocations: 91.86 kB / 0.6331 GB, free: 5.266 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4645/0.4671, allocations: 80.14 MB / 0.7114 GB, free: 4.449 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.ThreeWindingTransformer_Test): time 0.007161/0.4742, allocations: 6.804 MB / 0.718 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004912/0.4791, allocations: 2.014 MB / 0.72 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006823/0.4798, allocations: 10.5 kB / 0.72 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005796/0.4804, allocations: 220.8 kB / 0.7202 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002082/0.4825, allocations: 0.8239 MB / 0.721 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001366/0.4838, allocations: 0.5582 MB / 0.7216 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001928/0.4858, allocations: 1.586 MB / 0.7231 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004106/0.4862, allocations: 232.3 kB / 0.7233 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009164/0.4871, allocations: 0.6557 MB / 0.724 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009534/0.4881, allocations: 0.7615 MB / 0.7247 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001653/0.4882, allocations: 131.1 kB / 0.7248 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000535/0.4888, allocations: 285.3 kB / 0.7251 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003066/0.4891, allocations: 310.9 kB / 0.7254 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.00072/0.4898, allocations: 0.6733 MB / 0.7261 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002352/0.4921, allocations: 1.732 MB / 0.7278 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.4921, allocations: 0.75 kB / 0.7278 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.604e-06/0.4921, allocations: 4 kB / 0.7278 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.368e-05/0.4922, allocations: 0 / 0.7278 GB, free: 9.953 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.006928/0.4991, allocations: 2.121 MB / 0.7298 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.4991, allocations: 10.19 kB / 0.7298 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001935/0.4993, allocations: 127.5 kB / 0.73 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005594/0.5049, allocations: 0.8104 MB / 0.7308 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002531/0.5075, allocations: 0.7395 MB / 0.7315 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000486/0.5079, allocations: 303.2 kB / 0.7318 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002334/0.5082, allocations: 76.44 kB / 0.7318 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002418/0.5106, allocations: 0.9538 MB / 0.7328 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/0.5106, allocations: 11.88 kB / 0.7328 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-05/0.5107, allocations: 31.8 kB / 0.7328 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.97e-05/0.5107, allocations: 18.94 kB / 0.7328 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002339/0.5131, allocations: 1.008 MB / 0.7338 GB, free: 7.055 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.00735/0.5204, allocations: 3.942 MB / 0.7377 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002164/0.5226, allocations: 0.8817 MB / 0.7385 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001275/0.5239, allocations: 0.5874 MB / 0.7391 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001117/0.524, allocations: 22.34 kB / 0.7391 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.817e-05/0.524, allocations: 43.41 kB / 0.7392 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=96): time 3.016e-06/0.524, allocations: 0 / 0.7392 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of matching and sorting (n=96): time 0.01843/0.5425, allocations: 4.694 MB / 0.7437 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.101e-05/0.5425, allocations: 61.62 kB / 0.7438 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001549/0.5441, allocations: 0.9106 MB / 0.7447 GB, free: 76 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001678/0.5442, allocations: 41.27 kB / 0.7447 GB, free: 32 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004493/0.5447, allocations: 486 kB / 0.7452 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004319/0.5451, allocations: 355.3 kB / 0.7455 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003934/0.5455, allocations: 191.7 kB / 0.7457 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001856/0.5457, allocations: 351.3 kB / 0.746 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001293/0.547, allocations: 0.5806 MB / 0.7466 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001412/0.5484, allocations: 0.7103 MB / 0.7473 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01719/0.5656, allocations: 4.11 MB / 0.7513 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.5656, allocations: 0 / 0.7513 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.008763/0.5744, allocations: 2.847 MB / 0.7541 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.512e-05/0.5744, allocations: 6.469 kB / 0.7541 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.5744, allocations: 2.25 kB / 0.7541 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004826/0.5792, allocations: 1.437 MB / 0.7555 GB, free: 9.949 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001068/0.5803, allocations: 195.8 kB / 0.7557 GB, free: 9.758 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01605/0.5963, allocations: 7.173 MB / 0.7627 GB, free: 2.469 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001652/0.598, allocations: 151.2 kB / 0.7629 GB, free: 2.32 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001288/0.5981, allocations: 39.98 kB / 0.7629 GB, free: 2.281 MB / 0.5137 GB Warning: Assuming fixed start value for the following 2 variables: Gen1.delta:VARIABLE(flow=false start = Gen1.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real Gen1.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: 9 * 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 (105): * Single equations (assignments): 104 * 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 {(18,18)} Notification: Performance of prepare postOptimizeDAE: time 0.0005844/0.5987, allocations: 245.6 kB / 0.7631 GB, free: 2.031 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002527/0.599, allocations: 123.2 kB / 0.7632 GB, free: 1.91 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00804/0.607, allocations: 2.664 MB / 0.7658 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.189e-05/0.607, allocations: 16 kB / 0.7659 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.607, allocations: 0 / 0.7659 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.467e-05/0.607, allocations: 3.984 kB / 0.7659 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01078/0.6178, allocations: 4.285 MB / 0.77 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.6178, allocations: 4 kB / 0.77 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006709/0.6185, allocations: 127.8 kB / 0.7702 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004353/0.6229, allocations: 1.215 MB / 0.7714 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.272e-05/0.6229, allocations: 16 kB / 0.7714 GB, free: 9.438 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01341/0.6363, allocations: 6.369 MB / 0.7776 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.6363, allocations: 0 / 0.7776 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009696/0.646, allocations: 3.455 MB / 0.781 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005295/0.6466, allocations: 135.1 kB / 0.7811 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001661/0.6467, allocations: 23.94 kB / 0.7811 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008898/0.6476, allocations: 75.92 kB / 0.7812 GB, free: 15.24 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005022/0.6481, allocations: 156.7 kB / 0.7813 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.684e-05/0.6482, allocations: 20 kB / 0.7814 GB, free: 15.07 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000927/0.6491, allocations: 0.6189 MB / 0.782 GB, free: 14.44 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.6491, allocations: 0 / 0.782 GB, free: 14.44 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001332/0.6505, allocations: 415.6 kB / 0.7824 GB, free: 14.04 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Gen1.delta,Gen1.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 (63): * Single equations (assignments): 62 * 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 {(18,18)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01001/0.6605, allocations: 4.04 MB / 0.7863 GB, free: 9.957 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.005335/0.6658, allocations: 1.952 MB / 0.7882 GB, free: 7.984 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.6658, allocations: 0 / 0.7882 GB, free: 7.984 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003538/0.6693, allocations: 1.239 MB / 0.7894 GB, free: 6.73 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008913/0.6702, allocations: 88.23 kB / 0.7895 GB, free: 6.645 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02789/0.6981, allocations: 12.26 MB / 0.8015 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008354/0.699, allocations: 1.084 MB / 0.8025 GB, free: 9.07 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00046/0.6994, allocations: 94.83 kB / 0.8026 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006412/0.7001, allocations: 439.3 kB / 0.803 GB, free: 8.547 MB / 0.5606 GB Notification: Performance of SimCode: time 1.353e-06/0.7001, allocations: 0 / 0.803 GB, free: 8.547 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08207/0.7821, allocations: 32.21 MB / 0.8345 GB, free: 8.484 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.58/19.37, allocations: 5.734 kB / 0.8345 GB, free: 8.484 MB / 0.5919 GB " [Timeout remaining time 641] (rm -f OpenIPSL_OpenIPSL.Tests.Branches.PSAT.ThreeWindingTransformer_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Branches.PSAT.ThreeWindingTransformer_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Branches.PSAT.ThreeWindingTransformer_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Branches.PSAT.ThreeWindingTransformer_Test.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.Branches.PSAT.ThreeWindingTransformer_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_OpenIPSL_Tests_Branches_PSAT_ThreeWindingTransformer_Test.fmu > OpenIPSL_OpenIPSL.Tests.Branches.PSAT.ThreeWindingTransformer_Test.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 22.97212058492005] Failed to read output from testmodel.py, exit status != 0: 19.500806767959148 19.518356556 19.02280052 Calling exit ...