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.0007029/0.0007029, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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 0.8234/0.8234, allocations: 177.1 MB / 199.4 MB, free: 5.926 MB / 186.7 MB " [Timeout remaining time 179] 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.0009377/0.0009377, allocations: 156.6 kB / 256 MB, free: 13.32 MB / 250.7 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.2598/0.2598, allocations: 80.25 MB / 392.6 MB, free: 2.434 MB / 314.7 MB " [Timeout remaining time 180] 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: Performance of FrontEnd - loaded program: time 1.203e-06/1.203e-06, allocations: 3.938 kB / 0.5548 GB, free: 12.74 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.999e-06/1.12e-05, allocations: 2.281 kB / 0.5548 GB, free: 12.74 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.TwoWindingTransformer_Test): time 0.003051/0.003062, allocations: 3.961 MB / 0.5586 GB, free: 8.75 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001668/0.00473, allocations: 1.412 MB / 0.56 GB, free: 7.336 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001947/0.004924, allocations: 8 kB / 0.56 GB, free: 7.328 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003289/0.005253, allocations: 142.8 kB / 0.5601 GB, free: 7.188 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008592/0.006112, allocations: 0.6175 MB / 0.5608 GB, free: 6.566 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004222/0.006535, allocations: 365.5 kB / 0.5611 GB, free: 6.215 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006044/0.007139, allocations: 0.8906 MB / 0.562 GB, free: 5.32 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001825/0.007322, allocations: 117.7 kB / 0.5621 GB, free: 5.191 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004475/0.007769, allocations: 0.5103 MB / 0.5626 GB, free: 4.68 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002967/0.008066, allocations: 370.8 kB / 0.5629 GB, free: 4.316 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 6.805e-05/0.008134, allocations: 60 kB / 0.563 GB, free: 4.258 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000245/0.008379, allocations: 211.8 kB / 0.5632 GB, free: 4.051 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 9.259e-05/0.008471, allocations: 163.3 kB / 0.5634 GB, free: 3.891 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001472/0.008619, allocations: 259.1 kB / 0.5636 GB, free: 3.637 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006687/0.009287, allocations: 0.9928 MB / 0.5646 GB, free: 2.641 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.009289, allocations: 0 / 0.5646 GB, free: 2.641 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.00929, allocations: 0 / 0.5646 GB, free: 2.641 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.784e-06/0.009298, allocations: 0 / 0.5646 GB, free: 2.641 MB / 490.7 MB 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.002332/0.01163, allocations: 1.482 MB / 0.566 GB, free: 1.125 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.01166, allocations: 15.97 kB / 0.566 GB, free: 1.109 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.092e-05/0.01173, allocations: 90.64 kB / 0.5661 GB, free: 1.012 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001548/0.01328, allocations: 0.5116 MB / 0.5666 GB, free: 0.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005632/0.01384, allocations: 479.7 kB / 0.5671 GB, free: 4 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.689e-05/0.01393, allocations: 100.5 kB / 0.5672 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.309e-05/0.01399, allocations: 51.95 kB / 0.5672 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006365/0.01463, allocations: 0.5491 MB / 0.5678 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.01464, allocations: 0 / 0.5678 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.326e-05/0.01467, allocations: 16 kB / 0.5678 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.01468, allocations: 12 kB / 0.5678 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006988/0.01538, allocations: 0.5388 MB / 0.5683 GB, free: 14.72 MB / 0.4948 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.001871/0.01725, allocations: 1.567 MB / 0.5698 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006794/0.01793, allocations: 483.1 kB / 0.5703 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003929/0.01832, allocations: 336.3 kB / 0.5706 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.496e-05/0.01837, allocations: 8.5 kB / 0.5706 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/0.01839, allocations: 35.06 kB / 0.5707 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=54): time 1.563e-06/0.01839, allocations: 4 kB / 0.5707 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of matching and sorting (n=54): time 0.005625/0.02402, allocations: 2.9 MB / 0.5735 GB, free: 9.332 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.137e-05/0.02405, allocations: 63.84 kB / 0.5736 GB, free: 9.258 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005095/0.02456, allocations: 0.6213 MB / 0.5742 GB, free: 8.621 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.586e-05/0.02459, allocations: 37.7 kB / 0.5742 GB, free: 8.578 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001475/0.02474, allocations: 313.3 kB / 0.5745 GB, free: 8.266 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000108/0.02485, allocations: 202.3 kB / 0.5747 GB, free: 8.066 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001562/0.025, allocations: 150.5 kB / 0.5748 GB, free: 7.914 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.02511, allocations: 382.8 kB / 0.5752 GB, free: 7.531 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004558/0.02556, allocations: 389.8 kB / 0.5756 GB, free: 7.148 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004902/0.02605, allocations: 472.8 kB / 0.576 GB, free: 6.664 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006021/0.03207, allocations: 2.868 MB / 0.5788 GB, free: 3.777 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.03208, allocations: 3.938 kB / 0.5788 GB, free: 3.773 MB / 0.4948 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.003295/0.03537, allocations: 2.117 MB / 0.5809 GB, free: 1.641 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.03538, allocations: 8 kB / 0.5809 GB, free: 1.633 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.03539, allocations: 0 / 0.5809 GB, free: 1.633 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001733/0.03712, allocations: 0.9235 MB / 0.5818 GB, free: 0.707 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002767/0.0374, allocations: 123.8 kB / 0.5819 GB, free: 0.5859 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006543/0.04394, allocations: 5.272 MB / 0.5871 GB, free: 11.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003447/0.04429, allocations: 87.47 kB / 0.5872 GB, free: 11.11 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.696e-05/0.04432, allocations: 31.98 kB / 0.5872 GB, free: 11.08 MB / 0.5105 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.0001861/0.04451, allocations: 193 kB / 0.5874 GB, free: 10.88 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.336e-05/0.04458, allocations: 79.52 kB / 0.5874 GB, free: 10.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003093/0.04768, allocations: 1.89 MB / 0.5893 GB, free: 8.906 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.04768, allocations: 4 kB / 0.5893 GB, free: 8.902 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.04768, allocations: 3.938 kB / 0.5893 GB, free: 8.898 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.04769, allocations: 0 / 0.5893 GB, free: 8.898 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003566/0.05125, allocations: 2.518 MB / 0.5918 GB, free: 6.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.05126, allocations: 3.938 kB / 0.5918 GB, free: 6.316 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001408/0.0514, allocations: 55.91 kB / 0.5918 GB, free: 6.262 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001533/0.05293, allocations: 0.8596 MB / 0.5927 GB, free: 5.398 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.047e-05/0.05296, allocations: 12 kB / 0.5927 GB, free: 5.387 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005629/0.05859, allocations: 4.662 MB / 0.5972 GB, free: 0.6016 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.05859, allocations: 0 / 0.5972 GB, free: 0.6016 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1728/0.2314, allocations: 2.37 MB / 0.5995 GB, free: 93.79 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001806/0.2316, allocations: 88.23 kB / 0.5996 GB, free: 93.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.595e-05/0.2316, allocations: 9.938 kB / 0.5996 GB, free: 93.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002641/0.2319, allocations: 39.8 kB / 0.5997 GB, free: 93.79 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002007/0.2321, allocations: 94.52 kB / 0.5998 GB, free: 93.79 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.046e-05/0.2321, allocations: 12.34 kB / 0.5998 GB, free: 93.79 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002929/0.2324, allocations: 432.6 kB / 0.6002 GB, free: 93.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3e-08/0.2324, allocations: 0 / 0.6002 GB, free: 93.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005436/0.2329, allocations: 276.3 kB / 0.6004 GB, free: 93.7 MB / 0.5105 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.003381/0.2363, allocations: 2.943 MB / 0.6033 GB, free: 92.78 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001627/0.2379, allocations: 1.284 MB / 0.6046 GB, free: 92.32 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.238, allocations: 0 / 0.6046 GB, free: 92.32 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001002/0.239, allocations: 0.8269 MB / 0.6054 GB, free: 92 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002968/0.2392, allocations: 54.69 kB / 0.6054 GB, free: 91.96 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00971/0.249, allocations: 8.384 MB / 0.6136 GB, free: 88.45 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002192/0.2492, allocations: 314.7 kB / 0.6139 GB, free: 88.34 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00013/0.2493, allocations: 61.02 kB / 0.614 GB, free: 88.33 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000191/0.2495, allocations: 251.2 kB / 0.6142 GB, free: 88.14 MB / 0.5105 GB Notification: Performance of SimCode: time 8.82e-07/0.2495, allocations: 0 / 0.6142 GB, free: 88.14 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02925/0.2787, allocations: 20.94 MB / 0.6347 GB, free: 81.48 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.514/7.793, allocations: 4.188 kB / 0.6347 GB, free: 81.48 MB / 0.5105 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file OpenIPSL_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_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: 9.930345334112644] Failed to read output from testmodel.py, exit status != 0: 7.887624140828848 7.893605074 7.883075078 Calling exit ...