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.0007515/0.0007515, 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.8988/0.8988, allocations: 177.1 MB / 199.4 MB, free: 5.91 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.001478/0.001478, allocations: 156.6 kB / 256 MB, free: 13.31 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.2697/0.2697, allocations: 80.37 MB / 392.7 MB, free: 2.355 MB / 314.7 MB " [Timeout remaining time 179] 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.763e-06/1.763e-06, allocations: 0 / 0.5549 GB, free: 12.62 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.852e-05/2.029e-05, allocations: 4.953 kB / 0.5549 GB, free: 12.62 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.TwoWindingTransformer_Test): time 0.003623/0.003644, allocations: 3.965 MB / 0.5588 GB, free: 8.629 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002023/0.005666, allocations: 1.404 MB / 0.5602 GB, free: 7.223 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002654/0.005932, allocations: 8 kB / 0.5602 GB, free: 7.215 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003097/0.006242, allocations: 142.8 kB / 0.5603 GB, free: 7.074 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001052/0.007293, allocations: 0.6204 MB / 0.5609 GB, free: 6.453 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000483/0.007776, allocations: 370 kB / 0.5613 GB, free: 6.094 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006626/0.008439, allocations: 0.8907 MB / 0.5621 GB, free: 5.199 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002192/0.008658, allocations: 109.7 kB / 0.5622 GB, free: 5.078 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005273/0.009185, allocations: 0.5142 MB / 0.5627 GB, free: 4.562 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003386/0.009524, allocations: 370.8 kB / 0.5631 GB, free: 4.199 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 7.063e-05/0.009595, allocations: 64 kB / 0.5632 GB, free: 4.137 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002969/0.009891, allocations: 203.8 kB / 0.5634 GB, free: 3.938 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 9.353e-05/0.009985, allocations: 167.2 kB / 0.5635 GB, free: 3.773 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000162/0.01015, allocations: 255.1 kB / 0.5638 GB, free: 3.523 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007832/0.01093, allocations: 1.004 MB / 0.5647 GB, free: 2.516 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.01093, allocations: 0 / 0.5647 GB, free: 2.516 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.01094, allocations: 0 / 0.5647 GB, free: 2.516 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.086e-05/0.01095, allocations: 0 / 0.5647 GB, free: 2.516 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.002542/0.01349, allocations: 1.478 MB / 0.5662 GB, free: 1.004 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.01353, allocations: 16.03 kB / 0.5662 GB, free: 0.9883 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.6e-05/0.0136, allocations: 86.64 kB / 0.5663 GB, free: 0.8945 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001652/0.01525, allocations: 0.5116 MB / 0.5668 GB, free: 392 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006723/0.01593, allocations: 483.6 kB / 0.5672 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.93e-05/0.01602, allocations: 100.4 kB / 0.5673 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.44e-05/0.01608, allocations: 43.95 kB / 0.5674 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006844/0.01677, allocations: 0.5491 MB / 0.5679 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.01678, allocations: 0 / 0.5679 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.718e-05/0.01681, allocations: 20 kB / 0.5679 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.01682, allocations: 8 kB / 0.5679 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006592/0.01748, allocations: 0.5388 MB / 0.5685 GB, free: 14.61 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.002034/0.01952, allocations: 1.571 MB / 0.57 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007326/0.02025, allocations: 472.6 kB / 0.5705 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004064/0.02065, allocations: 338.2 kB / 0.5708 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.56e-05/0.0207, allocations: 12.42 kB / 0.5708 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.089e-05/0.02072, allocations: 43.06 kB / 0.5708 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=54): time 2.464e-06/0.02072, allocations: 0 / 0.5708 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of matching and sorting (n=54): time 0.005993/0.02672, allocations: 2.896 MB / 0.5737 GB, free: 9.215 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/0.02676, allocations: 63.84 kB / 0.5737 GB, free: 9.141 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005557/0.02731, allocations: 0.6252 MB / 0.5743 GB, free: 8.504 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.129e-05/0.02736, allocations: 37.7 kB / 0.5744 GB, free: 8.461 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001623/0.02753, allocations: 309.3 kB / 0.5747 GB, free: 8.152 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001392/0.02766, allocations: 202.3 kB / 0.5749 GB, free: 7.953 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001647/0.02783, allocations: 150.5 kB / 0.575 GB, free: 7.801 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.02794, allocations: 378.8 kB / 0.5754 GB, free: 7.422 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004836/0.02843, allocations: 389.8 kB / 0.5757 GB, free: 7.039 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005161/0.02894, allocations: 472.8 kB / 0.5762 GB, free: 6.555 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00643/0.03537, allocations: 2.872 MB / 0.579 GB, free: 3.664 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/0.03538, allocations: 0 / 0.579 GB, free: 3.664 MB / 0.4948 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.003606/0.03898, allocations: 2.124 MB / 0.5811 GB, free: 1.523 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.03901, allocations: 4 kB / 0.5811 GB, free: 1.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.03902, allocations: 8 kB / 0.5811 GB, free: 1.512 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001799/0.04082, allocations: 0.9157 MB / 0.582 GB, free: 0.5938 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003257/0.04114, allocations: 119.8 kB / 0.5821 GB, free: 488 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006905/0.04805, allocations: 5.276 MB / 0.5872 GB, free: 11.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005351/0.04858, allocations: 95.47 kB / 0.5873 GB, free: 10.99 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.982e-05/0.04862, allocations: 24 kB / 0.5873 GB, free: 10.96 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.000306/0.04893, allocations: 193.6 kB / 0.5875 GB, free: 10.77 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.143e-05/0.04902, allocations: 75.47 kB / 0.5876 GB, free: 10.69 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003198/0.05222, allocations: 1.894 MB / 0.5895 GB, free: 8.789 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-06/0.05223, allocations: 8 kB / 0.5895 GB, free: 8.781 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.05223, allocations: 0 / 0.5895 GB, free: 8.781 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.05224, allocations: 3.984 kB / 0.5895 GB, free: 8.777 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003943/0.05618, allocations: 2.521 MB / 0.5919 GB, free: 6.195 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.05618, allocations: 3.938 kB / 0.5919 GB, free: 6.191 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001686/0.05635, allocations: 51.92 kB / 0.592 GB, free: 6.141 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001641/0.05799, allocations: 0.8596 MB / 0.5928 GB, free: 5.277 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.55e-05/0.05803, allocations: 8 kB / 0.5928 GB, free: 5.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005828/0.06386, allocations: 4.677 MB / 0.5974 GB, free: 484 kB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.06386, allocations: 0 / 0.5974 GB, free: 484 kB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1934/0.2572, allocations: 2.367 MB / 0.5997 GB, free: 93.72 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001993/0.2574, allocations: 86.58 kB / 0.5998 GB, free: 93.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.89e-05/0.2575, allocations: 10.36 kB / 0.5998 GB, free: 93.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002959/0.2578, allocations: 37.34 kB / 0.5998 GB, free: 93.72 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002278/0.258, allocations: 93.53 kB / 0.5999 GB, free: 93.72 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-05/0.2581, allocations: 12.75 kB / 0.5999 GB, free: 93.72 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003208/0.2584, allocations: 438.9 kB / 0.6004 GB, free: 93.62 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.2584, allocations: 0 / 0.6004 GB, free: 93.62 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0006206/0.259, allocations: 267.8 kB / 0.6006 GB, free: 93.62 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.003673/0.2627, allocations: 2.95 MB / 0.6035 GB, free: 92.65 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001914/0.2646, allocations: 1.279 MB / 0.6047 GB, free: 92.18 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.2646, allocations: 3.281 kB / 0.6047 GB, free: 92.18 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00115/0.2657, allocations: 0.8171 MB / 0.6055 GB, free: 91.86 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004094/0.2661, allocations: 56.72 kB / 0.6056 GB, free: 91.82 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01158/0.2777, allocations: 8.383 MB / 0.6138 GB, free: 88.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003105/0.278, allocations: 315 kB / 0.6141 GB, free: 88.2 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000214/0.2782, allocations: 59.53 kB / 0.6141 GB, free: 88.19 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002281/0.2785, allocations: 251.4 kB / 0.6144 GB, free: 88 MB / 0.5105 GB Notification: Performance of SimCode: time 1.353e-06/0.2785, allocations: 0 / 0.6144 GB, free: 88 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0366/0.3151, allocations: 20.94 MB / 0.6348 GB, free: 81.32 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.702/8.017, allocations: 10.31 kB / 0.6348 GB, free: 81.32 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Branches_PSAT_TwoWindingTransformer_Test_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 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.263073392212391] Failed to read output from testmodel.py, exit status != 0: 8.113891218788922 8.119699726 8.107424259 Calling exit ...