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.001324/0.001324, allocations: 110.4 kB / 18.94 MB, free: 2.793 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.285 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.001637/0.001637, allocations: 219.2 kB / 309.2 MB, free: 3.129 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.5902/0.5902, allocations: 107.2 MB / 472.9 MB, free: 4.73 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.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: 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.002613/0.002613, allocations: 87.86 kB / 0.6331 GB, free: 5.234 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4301/0.4327, allocations: 80.14 MB / 0.7114 GB, free: 4.438 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.TwoWindingTransformer_Test): time 0.004584/0.4373, allocations: 4.447 MB / 0.7157 GB, free: 1.219 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002771/0.4401, allocations: 1.52 MB / 0.7172 GB, free: 148 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003999/0.4405, allocations: 5.844 kB / 0.7172 GB, free: 148 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004069/0.4409, allocations: 137.1 kB / 0.7173 GB, free: 76 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001655/0.4425, allocations: 0.6281 MB / 0.7179 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008814/0.4434, allocations: 378.3 kB / 0.7183 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001091/0.4445, allocations: 0.8593 MB / 0.7191 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002646/0.4448, allocations: 128.4 kB / 0.7193 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005781/0.4454, allocations: 387.8 kB / 0.7196 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006039/0.446, allocations: 464.5 kB / 0.7201 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.779e-05/0.4461, allocations: 62.03 kB / 0.7201 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004581/0.4465, allocations: 211.5 kB / 0.7203 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001774/0.4467, allocations: 177.8 kB / 0.7205 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003307/0.447, allocations: 376.8 kB / 0.7209 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001162/0.4482, allocations: 0.9678 MB / 0.7218 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.4482, allocations: 2.562 kB / 0.7218 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.593e-06/0.4482, allocations: 0 / 0.7218 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.057e-05/0.4482, allocations: 0 / 0.7218 GB, free: 13.71 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.0048/0.453, allocations: 1.493 MB / 0.7233 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.453, allocations: 11.94 kB / 0.7233 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001194/0.4532, allocations: 89.75 kB / 0.7234 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003295/0.4565, allocations: 0.5045 MB / 0.7239 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001079/0.4575, allocations: 486.5 kB / 0.7243 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001535/0.4577, allocations: 102.6 kB / 0.7244 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001036/0.4578, allocations: 49.78 kB / 0.7245 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001112/0.4589, allocations: 0.541 MB / 0.725 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.4589, allocations: 0.8906 kB / 0.725 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.366e-05/0.459, allocations: 17.09 kB / 0.725 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.459, allocations: 10.78 kB / 0.725 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001089/0.4601, allocations: 0.5402 MB / 0.7256 GB, free: 11.91 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.003818/0.4639, allocations: 2.001 MB / 0.7275 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001242/0.4651, allocations: 483.2 kB / 0.728 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007166/0.4659, allocations: 342.5 kB / 0.7283 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.03e-05/0.4659, allocations: 7.703 kB / 0.7283 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.196e-05/0.466, allocations: 38.08 kB / 0.7283 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=54): time 2.404e-06/0.466, allocations: 0 / 0.7283 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=54): time 0.01203/0.478, allocations: 2.904 MB / 0.7312 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.277e-05/0.478, allocations: 61.66 kB / 0.7312 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000921/0.479, allocations: 0.6232 MB / 0.7319 GB, free: 9.199 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001149/0.4791, allocations: 35.08 kB / 0.7319 GB, free: 9.16 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002661/0.4793, allocations: 311.7 kB / 0.7322 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002222/0.4796, allocations: 211 kB / 0.7324 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002786/0.4798, allocations: 144.4 kB / 0.7325 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001919/0.48, allocations: 378.5 kB / 0.7329 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007683/0.4808, allocations: 389.2 kB / 0.7333 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008362/0.4816, allocations: 475.9 kB / 0.7337 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0132/0.4948, allocations: 2.879 MB / 0.7365 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.623e-06/0.4949, allocations: 0 / 0.7365 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.006791/0.5016, allocations: 2.113 MB / 0.7386 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/0.5017, allocations: 6.562 kB / 0.7386 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.5017, allocations: 1.188 kB / 0.7386 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003517/0.5052, allocations: 0.9241 MB / 0.7395 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006942/0.5059, allocations: 121.9 kB / 0.7396 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01256/0.5184, allocations: 5.377 MB / 0.7449 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009695/0.5194, allocations: 93.19 kB / 0.7449 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.111e-05/0.5195, allocations: 26.02 kB / 0.745 GB, free: 1.168 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.00038/0.5199, allocations: 202.3 kB / 0.7452 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001463/0.52, allocations: 77.66 kB / 0.7452 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006088/0.5261, allocations: 1.886 MB / 0.7471 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.665e-05/0.5261, allocations: 5.688 kB / 0.7471 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.5261, allocations: 4 kB / 0.7471 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.242e-05/0.5261, allocations: 1.031 kB / 0.7471 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007632/0.5338, allocations: 2.891 MB / 0.7499 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/0.5338, allocations: 0 / 0.7499 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003311/0.5341, allocations: 49.23 kB / 0.75 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003222/0.5373, allocations: 0.8604 MB / 0.7508 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.422e-05/0.5374, allocations: 11.22 kB / 0.7508 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01054/0.5479, allocations: 4.771 MB / 0.7555 GB, free: 9.844 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.5479, allocations: 0 / 0.7555 GB, free: 9.844 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007172/0.5551, allocations: 2.383 MB / 0.7578 GB, free: 7.438 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003175/0.5554, allocations: 79.41 kB / 0.7579 GB, free: 7.359 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001817/0.5556, allocations: 16.06 kB / 0.7579 GB, free: 7.344 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006421/0.5563, allocations: 35.91 kB / 0.7579 GB, free: 7.309 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003194/0.5566, allocations: 96.31 kB / 0.758 GB, free: 7.215 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.774e-05/0.5566, allocations: 16 kB / 0.758 GB, free: 7.199 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006525/0.5573, allocations: 431.1 kB / 0.7584 GB, free: 6.785 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.5573, allocations: 0 / 0.7584 GB, free: 6.785 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001086/0.5584, allocations: 275.7 kB / 0.7587 GB, free: 6.516 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.007598/0.566, allocations: 2.938 MB / 0.7616 GB, free: 3.547 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003758/0.5697, allocations: 1.296 MB / 0.7628 GB, free: 2.238 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.5697, allocations: 4 kB / 0.7628 GB, free: 2.234 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002516/0.5722, allocations: 0.8214 MB / 0.7636 GB, free: 1.402 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007224/0.573, allocations: 65.38 kB / 0.7637 GB, free: 1.336 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02034/0.5933, allocations: 8.452 MB / 0.772 GB, free: 8.758 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006274/0.5939, allocations: 0.9142 MB / 0.7729 GB, free: 7.816 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000275/0.5942, allocations: 60.81 kB / 0.7729 GB, free: 7.758 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004108/0.5946, allocations: 251.3 kB / 0.7732 GB, free: 7.512 MB / 0.5294 GB Notification: Performance of SimCode: time 8.62e-07/0.5946, allocations: 0 / 0.7732 GB, free: 7.512 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06156/0.6562, allocations: 20.35 MB / 0.793 GB, free: 3.281 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.67/15.32, allocations: 16.48 kB / 0.793 GB, free: 3.273 MB / 0.545 GB " [Timeout remaining time 645] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Branches_PSAT_TwoWindingTransformer_Test_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 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: 18.79224820714444] Failed to read output from testmodel.py, exit status != 0: 15.456754987128079 15.474567675 15.022835278 Calling exit ...