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.001538/0.001538, allocations: 108.9 kB / 16.45 MB, free: 6.453 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.546/1.546, allocations: 230.6 MB / 249.8 MB, free: 9.203 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.001981/0.001981, allocations: 218.3 kB / 306 MB, free: 4.285 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.6087/0.6087, allocations: 107.2 MB / 469.2 MB, free: 6.371 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.002535/0.002535, allocations: 84.11 kB / 0.628 GB, free: 7.914 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4832/0.4858, allocations: 80.11 MB / 0.7062 GB, free: 4.852 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.TwoWindingTransformer_Test): time 0.004725/0.4905, allocations: 4.431 MB / 0.7105 GB, free: 1.641 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002645/0.4932, allocations: 1.51 MB / 0.712 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003634/0.4935, allocations: 10.44 kB / 0.712 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003977/0.4939, allocations: 142.2 kB / 0.7122 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001415/0.4953, allocations: 0.627 MB / 0.7128 GB, free: 84 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008537/0.4962, allocations: 374.1 kB / 0.7131 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001099/0.4973, allocations: 0.8557 MB / 0.714 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002728/0.4976, allocations: 127.6 kB / 0.7141 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005682/0.4981, allocations: 392.6 kB / 0.7145 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005896/0.4987, allocations: 465.5 kB / 0.7149 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.438e-05/0.4988, allocations: 62.56 kB / 0.715 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004469/0.4993, allocations: 213.2 kB / 0.7152 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001714/0.4994, allocations: 168 kB / 0.7153 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003694/0.4998, allocations: 384.8 kB / 0.7157 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00126/0.5011, allocations: 0.9636 MB / 0.7166 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.5011, allocations: 2.625 kB / 0.7166 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.402e-06/0.5011, allocations: 3.938 kB / 0.7166 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.84e-05/0.5011, allocations: 0 / 0.7166 GB, free: 14.12 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.00512/0.5062, allocations: 1.567 MB / 0.7182 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.5062, allocations: 7.875 kB / 0.7182 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001231/0.5064, allocations: 85.78 kB / 0.7183 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003435/0.5098, allocations: 0.5137 MB / 0.7188 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001129/0.5109, allocations: 0.541 MB / 0.7193 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001624/0.5111, allocations: 105.2 kB / 0.7194 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.5112, allocations: 39.88 kB / 0.7194 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001195/0.5124, allocations: 0.5474 MB / 0.72 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.5124, allocations: 0 / 0.72 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.796e-05/0.5125, allocations: 23.11 kB / 0.72 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/0.5125, allocations: 9.594 kB / 0.72 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001093/0.5136, allocations: 0.5363 MB / 0.7205 GB, free: 12.17 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.003844/0.5174, allocations: 2.035 MB / 0.7225 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00148/0.5189, allocations: 0.7637 MB / 0.7232 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007854/0.5197, allocations: 342.4 kB / 0.7236 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.06e-05/0.5197, allocations: 10.66 kB / 0.7236 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.5198, allocations: 37.66 kB / 0.7236 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=54): time 2.655e-06/0.5198, allocations: 0 / 0.7236 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of matching and sorting (n=54): time 0.01345/0.5332, allocations: 2.985 MB / 0.7265 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.528e-05/0.5333, allocations: 57.22 kB / 0.7266 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001168/0.5345, allocations: 0.6235 MB / 0.7272 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001532/0.5346, allocations: 36.39 kB / 0.7272 GB, free: 9.102 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003005/0.5349, allocations: 321.2 kB / 0.7275 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002702/0.5352, allocations: 205.2 kB / 0.7277 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003061/0.5355, allocations: 144.9 kB / 0.7279 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002403/0.5357, allocations: 383.4 kB / 0.7282 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008293/0.5366, allocations: 381.5 kB / 0.7286 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008984/0.5375, allocations: 475.5 kB / 0.7291 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01316/0.5506, allocations: 2.875 MB / 0.7319 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.5506, allocations: 1.188 kB / 0.7319 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.006976/0.5576, allocations: 2.122 MB / 0.7339 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.538e-05/0.5576, allocations: 5.094 kB / 0.7339 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.5576, allocations: 1.125 kB / 0.7339 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003546/0.5612, allocations: 0.9178 MB / 0.7348 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005752/0.5618, allocations: 121.4 kB / 0.735 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01265/0.5744, allocations: 5.498 MB / 0.7403 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009362/0.5754, allocations: 88.48 kB / 0.7404 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.788e-05/0.5754, allocations: 26.83 kB / 0.7404 GB, free: 1.027 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.0003689/0.5758, allocations: 201.8 kB / 0.7406 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001439/0.5759, allocations: 77.56 kB / 0.7407 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006485/0.5824, allocations: 1.883 MB / 0.7425 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.575e-06/0.5824, allocations: 6.125 kB / 0.7425 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.5824, allocations: 0 / 0.7425 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.21e-05/0.5824, allocations: 5.172 kB / 0.7425 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007699/0.5901, allocations: 2.921 MB / 0.7454 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.5901, allocations: 0 / 0.7454 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003095/0.5905, allocations: 56.41 kB / 0.7455 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003307/0.5938, allocations: 0.8627 MB / 0.7463 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.191e-05/0.5938, allocations: 15.47 kB / 0.7463 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01083/0.6047, allocations: 4.87 MB / 0.7511 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.6047, allocations: 1.156 kB / 0.7511 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007336/0.612, allocations: 2.386 MB / 0.7534 GB, free: 7.711 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003307/0.6123, allocations: 156.5 kB / 0.7535 GB, free: 7.539 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.291e-05/0.6124, allocations: 12 kB / 0.7536 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005564/0.613, allocations: 35.95 kB / 0.7536 GB, free: 7.492 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003091/0.6133, allocations: 92.5 kB / 0.7537 GB, free: 7.398 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.212e-05/0.6133, allocations: 12 kB / 0.7537 GB, free: 7.387 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006389/0.614, allocations: 435.1 kB / 0.7541 GB, free: 6.969 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8.1e-08/0.614, allocations: 0 / 0.7541 GB, free: 6.969 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00102/0.615, allocations: 279.7 kB / 0.7544 GB, free: 6.695 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.007687/0.6227, allocations: 2.941 MB / 0.7572 GB, free: 3.727 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00379/0.6265, allocations: 1.305 MB / 0.7585 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.6265, allocations: 0 / 0.7585 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002513/0.629, allocations: 0.814 MB / 0.7593 GB, free: 1.578 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006137/0.6296, allocations: 61.5 kB / 0.7594 GB, free: 1.52 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02076/0.6504, allocations: 8.447 MB / 0.7676 GB, free: 8.938 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007018/0.6511, allocations: 0.9103 MB / 0.7685 GB, free: 8 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002607/0.6513, allocations: 64.8 kB / 0.7686 GB, free: 7.938 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004178/0.6517, allocations: 255.3 kB / 0.7688 GB, free: 7.688 MB / 0.5294 GB Notification: Performance of SimCode: time 1.392e-06/0.6517, allocations: 0 / 0.7688 GB, free: 7.688 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06028/0.712, allocations: 19.8 MB / 0.7882 GB, free: 4.027 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.89/14.61, allocations: 7.812 kB / 0.7882 GB, free: 4.02 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 & /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: 18.152263046998996] Failed to read output from testmodel.py, exit status != 0: 14.706685021985322 14.720800595 14.216874388 Calling exit ...