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.000722/0.000722, 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.8329/0.8329, allocations: 177.2 MB / 199.4 MB, free: 5.945 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.0009813/0.0009813, allocations: 156.6 kB / 256 MB, free: 13.35 MB / 250.7 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.2516/0.2516, allocations: 80.36 MB / 392.7 MB, free: 2.379 MB / 314.7 MB " [Timeout remaining time 180] 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: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.5549 GB, free: 12.64 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.385e-05/1.547e-05, allocations: 6.219 kB / 0.5549 GB, free: 12.63 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.TwoWindingTransformer_Test): time 0.003385/0.003401, allocations: 3.968 MB / 0.5588 GB, free: 8.637 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001739/0.00514, allocations: 1.404 MB / 0.5602 GB, free: 7.23 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001925/0.005333, allocations: 15.94 kB / 0.5602 GB, free: 7.215 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002579/0.005591, allocations: 138.8 kB / 0.5603 GB, free: 7.078 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008617/0.006452, allocations: 0.6162 MB / 0.5609 GB, free: 6.461 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003956/0.006848, allocations: 366.3 kB / 0.5613 GB, free: 6.105 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007673/0.007615, allocations: 0.8867 MB / 0.5621 GB, free: 5.215 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001701/0.007785, allocations: 117.7 kB / 0.5623 GB, free: 5.086 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003815/0.008167, allocations: 0.5143 MB / 0.5628 GB, free: 4.57 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002804/0.008447, allocations: 362.8 kB / 0.5631 GB, free: 4.215 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 5.599e-05/0.008503, allocations: 64 kB / 0.5632 GB, free: 4.152 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002134/0.008717, allocations: 215.6 kB / 0.5634 GB, free: 3.941 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 9.288e-05/0.00881, allocations: 171.2 kB / 0.5635 GB, free: 3.773 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001355/0.008945, allocations: 247.2 kB / 0.5638 GB, free: 3.531 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000638/0.009583, allocations: 0.9966 MB / 0.5647 GB, free: 2.531 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.744e-06/0.009585, allocations: 0 / 0.5647 GB, free: 2.531 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.009586, allocations: 0 / 0.5647 GB, free: 2.531 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.009591, allocations: 0 / 0.5647 GB, free: 2.531 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.002237/0.01183, allocations: 1.49 MB / 0.5662 GB, free: 1.008 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.074e-05/0.01186, allocations: 11.97 kB / 0.5662 GB, free: 0.9961 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.782e-05/0.01193, allocations: 82.72 kB / 0.5663 GB, free: 0.9062 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00151/0.01344, allocations: 0.5077 MB / 0.5668 GB, free: 408 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005005/0.01394, allocations: 491.5 kB / 0.5672 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.926e-05/0.01402, allocations: 96.39 kB / 0.5673 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.059e-05/0.01408, allocations: 48 kB / 0.5674 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000609/0.01469, allocations: 0.5413 MB / 0.5679 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.0147, allocations: 0 / 0.5679 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.297e-05/0.01473, allocations: 16 kB / 0.5679 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.01474, allocations: 12 kB / 0.5679 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006222/0.01536, allocations: 0.5349 MB / 0.5685 GB, free: 14.63 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.001925/0.01728, allocations: 1.591 MB / 0.57 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000654/0.01794, allocations: 471.6 kB / 0.5705 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000393/0.01833, allocations: 342.2 kB / 0.5708 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.79e-05/0.01837, allocations: 8.5 kB / 0.5708 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.59e-05/0.01839, allocations: 35.06 kB / 0.5708 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=54): time 1.422e-06/0.01839, allocations: 0 / 0.5708 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of matching and sorting (n=54): time 0.005515/0.0239, allocations: 2.896 MB / 0.5737 GB, free: 9.227 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.843e-05/0.02394, allocations: 63.83 kB / 0.5737 GB, free: 9.152 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004389/0.02438, allocations: 0.6252 MB / 0.5743 GB, free: 8.516 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.523e-05/0.02441, allocations: 33.7 kB / 0.5744 GB, free: 8.477 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001435/0.02456, allocations: 313.3 kB / 0.5747 GB, free: 8.164 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001062/0.02466, allocations: 202.3 kB / 0.5749 GB, free: 7.965 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001466/0.02481, allocations: 146.6 kB / 0.575 GB, free: 7.816 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.776e-05/0.02491, allocations: 382.8 kB / 0.5754 GB, free: 7.434 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004502/0.02536, allocations: 381.8 kB / 0.5757 GB, free: 7.059 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006283/0.02599, allocations: 476.8 kB / 0.5762 GB, free: 6.57 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005952/0.03194, allocations: 2.872 MB / 0.579 GB, free: 3.68 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.03194, allocations: 0 / 0.579 GB, free: 3.68 MB / 0.4948 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.003263/0.0352, allocations: 2.128 MB / 0.5811 GB, free: 1.535 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.03522, allocations: 8 kB / 0.5811 GB, free: 1.527 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.03523, allocations: 0 / 0.5811 GB, free: 1.527 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001664/0.03689, allocations: 0.9236 MB / 0.582 GB, free: 0.6016 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002666/0.03716, allocations: 119.8 kB / 0.5821 GB, free: 496 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006459/0.04362, allocations: 5.273 MB / 0.5872 GB, free: 11.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003478/0.04396, allocations: 91.41 kB / 0.5873 GB, free: 11 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.668e-05/0.044, allocations: 27.98 kB / 0.5874 GB, free: 10.97 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.0001885/0.04419, allocations: 185.7 kB / 0.5875 GB, free: 10.78 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.186e-05/0.04426, allocations: 83.52 kB / 0.5876 GB, free: 10.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003014/0.04727, allocations: 1.89 MB / 0.5895 GB, free: 8.801 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.04728, allocations: 4 kB / 0.5895 GB, free: 8.797 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.04728, allocations: 0 / 0.5895 GB, free: 8.797 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.04728, allocations: 3.984 kB / 0.5895 GB, free: 8.793 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003696/0.05098, allocations: 2.525 MB / 0.5919 GB, free: 6.207 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.05098, allocations: 7.875 kB / 0.5919 GB, free: 6.199 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001379/0.05112, allocations: 47.98 kB / 0.592 GB, free: 6.152 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001515/0.05264, allocations: 0.8596 MB / 0.5928 GB, free: 5.289 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.833e-05/0.05266, allocations: 15.98 kB / 0.5928 GB, free: 5.273 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005475/0.05814, allocations: 4.654 MB / 0.5974 GB, free: 0.4961 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.05814, allocations: 3.938 kB / 0.5974 GB, free: 0.4922 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1845/0.2427, allocations: 2.37 MB / 0.5997 GB, free: 93.62 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001573/0.2428, allocations: 85 kB / 0.5998 GB, free: 93.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.408e-05/0.2429, allocations: 11.78 kB / 0.5998 GB, free: 93.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002688/0.2432, allocations: 37.09 kB / 0.5998 GB, free: 93.62 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002079/0.2434, allocations: 95.2 kB / 0.5999 GB, free: 93.62 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-05/0.2434, allocations: 12.94 kB / 0.5999 GB, free: 93.62 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000311/0.2437, allocations: 436.1 kB / 0.6003 GB, free: 93.52 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9e-08/0.2437, allocations: 0 / 0.6003 GB, free: 93.52 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005998/0.2443, allocations: 271.7 kB / 0.6006 GB, free: 93.52 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.003509/0.2478, allocations: 2.946 MB / 0.6035 GB, free: 92.58 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001726/0.2495, allocations: 1.292 MB / 0.6047 GB, free: 92.11 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.2495, allocations: 0 / 0.6047 GB, free: 92.11 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001075/0.2506, allocations: 0.8168 MB / 0.6055 GB, free: 91.79 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003143/0.2509, allocations: 55.86 kB / 0.6056 GB, free: 91.75 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01019/0.2611, allocations: 8.382 MB / 0.6138 GB, free: 88.24 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00022/0.2613, allocations: 320.6 kB / 0.6141 GB, free: 88.13 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001365/0.2615, allocations: 61.22 kB / 0.6141 GB, free: 88.12 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002057/0.2617, allocations: 247.7 kB / 0.6144 GB, free: 87.94 MB / 0.5105 GB Notification: Performance of SimCode: time 6.12e-07/0.2617, allocations: 0 / 0.6144 GB, free: 87.94 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03151/0.2932, allocations: 20.95 MB / 0.6348 GB, free: 81.29 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.707/8.001, allocations: 5.359 kB / 0.6348 GB, free: 81.29 MB / 0.5105 GB " [Timeout remaining time 652] (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: 10.154187405481935] Failed to read output from testmodel.py, exit status != 0: 8.092862222343683 8.0988874 8.088090041 Calling exit ...