Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.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.001151/0.001151, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] 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.0008438/0.0008438, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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.8741/0.8741, allocations: 177.1 MB / 204.3 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2225/0.2225, allocations: 29.41 MB / 290.1 MB, free: 2.434 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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 Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(PowerSystems.Examples.Wind.WindTurbine_IG,fileNamePrefix="PowerSystems_PowerSystems_Examples_Wind_WindTurbine_IG",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_IG,fileNamePrefix="PowerSystems_PowerSystems_Examples_Wind_WindTurbine_IG",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 430.2 MB, free: 13.63 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.053e-05/2.209e-05, allocations: 3.828 kB / 430.2 MB, free: 13.62 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.006867/0.006889, allocations: 7.618 MB / 437.8 MB, free: 5.969 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00604/0.01293, allocations: 5.058 MB / 442.9 MB, free: 0.8906 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006156/0.01355, allocations: 35.69 kB / 442.9 MB, free: 0.8555 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1768/0.1903, allocations: 5.785 MB / 448.7 MB, free: 43.45 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00152/0.1919, allocations: 0.8749 MB / 449.6 MB, free: 43.33 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008834/0.1927, allocations: 0.537 MB / 450.1 MB, free: 43.31 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002334/0.1951, allocations: 2.621 MB / 452.7 MB, free: 43 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006011/0.1957, allocations: 0.5584 MB / 453.3 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008671/0.1965, allocations: 1.016 MB / 454.3 MB, free: 42.81 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009587/0.1975, allocations: 1.007 MB / 455.3 MB, free: 42.64 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001236/0.1976, allocations: 104.1 kB / 455.4 MB, free: 42.64 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005848/0.1982, allocations: 393.5 kB / 455.8 MB, free: 42.59 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003449/0.1986, allocations: 0.7082 MB / 456.5 MB, free: 42.34 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003145/0.1989, allocations: 490.1 kB / 457 MB, free: 42.17 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001155/0.2, allocations: 1.77 MB / 458.7 MB, free: 41.64 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.2, allocations: 4 kB / 458.7 MB, free: 41.64 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.2, allocations: 0 / 458.7 MB, free: 41.64 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.42e-05/0.2, allocations: 0 / 458.7 MB, free: 41.64 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.001773/0.2018, allocations: 1.545 MB / 460.3 MB, free: 40.71 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.2019, allocations: 13.17 kB / 460.3 MB, free: 40.71 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001248/0.202, allocations: 170.5 kB / 460.5 MB, free: 40.61 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007696/0.2028, allocations: 279.7 kB / 460.7 MB, free: 40.52 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001136/0.2039, allocations: 0.873 MB / 461.6 MB, free: 40.1 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.829e-05/0.2039, allocations: 74.05 kB / 461.7 MB, free: 40.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003024/0.2042, allocations: 189.8 kB / 461.9 MB, free: 40.03 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001359/0.2056, allocations: 1.562 MB / 463.4 MB, free: 39.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.624e-05/0.2056, allocations: 5.969 kB / 463.4 MB, free: 39.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.219e-05/0.2057, allocations: 40.34 kB / 463.5 MB, free: 39.35 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002911/0.206, allocations: 148.8 kB / 463.6 MB, free: 39.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001256/0.2072, allocations: 1.249 MB / 464.9 MB, free: 38.96 MB / 410.7 MB 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.004468/0.2117, allocations: 5.636 MB / 470.5 MB, free: 35.42 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000919/0.2126, allocations: 0.8694 MB / 471.4 MB, free: 35.1 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004504/0.2131, allocations: 489.8 kB / 471.9 MB, free: 34.93 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.182e-05/0.2131, allocations: 12.94 kB / 471.9 MB, free: 34.93 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.2131, allocations: 48.94 kB / 471.9 MB, free: 34.88 MB / 410.7 MB Notification: Performance of pre-optimization done (n=91): time 2.945e-06/0.2131, allocations: 4 kB / 471.9 MB, free: 34.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=96): time 0.003653/0.2168, allocations: 3.244 MB / 475.2 MB, free: 33.48 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.576e-05/0.2168, allocations: 87.52 kB / 475.3 MB, free: 33.39 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005463/0.2174, allocations: 0.7454 MB / 476 MB, free: 33.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.8e-05/0.2174, allocations: 40.83 kB / 476 MB, free: 33.03 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002107/0.2176, allocations: 0.5641 MB / 476.6 MB, free: 32.58 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001534/0.2178, allocations: 389 kB / 477 MB, free: 32.29 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002099/0.218, allocations: 230.6 kB / 477.2 MB, free: 32.18 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.971e-05/0.2181, allocations: 414.5 kB / 477.6 MB, free: 31.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006164/0.2187, allocations: 0.5643 MB / 478.2 MB, free: 31.65 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007304/0.2194, allocations: 0.8843 MB / 479.1 MB, free: 31.11 MB / 410.7 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.004943/0.2244, allocations: 3.231 MB / 482.3 MB, free: 29.98 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-05/0.2244, allocations: 2.125 kB / 482.3 MB, free: 29.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.004006/0.2284, allocations: 2.696 MB / 485 MB, free: 29.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.907e-05/0.2284, allocations: 12.73 kB / 485 MB, free: 29.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.153e-05/0.2284, allocations: 10.38 kB / 485 MB, free: 29.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002/0.2304, allocations: 1.147 MB / 486.2 MB, free: 28.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005707/0.231, allocations: 201.9 kB / 486.4 MB, free: 28.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01297/0.244, allocations: 11.93 MB / 498.3 MB, free: 23.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007154/0.2447, allocations: 58.08 kB / 498.3 MB, free: 23.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-05/0.2448, allocations: 51.89 kB / 498.4 MB, free: 23.1 MB / 410.7 MB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: $DER.inertia.w = 0.0 infBus.V = 15000.0 * infBus.v0 line.omega[1] = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,trafo.tap_2_internal,trafo.tap_1_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(24,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0005987/0.2454, allocations: 410.5 kB / 498.8 MB, free: 22.87 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001134/0.2455, allocations: 107.5 kB / 498.9 MB, free: 22.81 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001558/0.2471, allocations: 1.254 MB / 0.4884 GB, free: 22.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.415e-06/0.2471, allocations: 11 kB / 0.4884 GB, free: 22.32 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.2471, allocations: 1.219 kB / 0.4884 GB, free: 22.32 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.125e-05/0.2471, allocations: 9.969 kB / 0.4885 GB, free: 22.31 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002853/0.2499, allocations: 2.367 MB / 0.4908 GB, free: 21.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.2499, allocations: 6.5 kB / 0.4908 GB, free: 21.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007897/0.2507, allocations: 274.1 kB / 0.491 GB, free: 21.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001127/0.2508, allocations: 59.02 kB / 0.4911 GB, free: 21.34 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.37e-05/0.2509, allocations: 39.67 kB / 0.4911 GB, free: 21.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008955/0.2518, allocations: 2.623 MB / 0.4937 GB, free: 18.78 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.2518, allocations: 14.86 kB / 0.4937 GB, free: 18.77 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001684/0.2535, allocations: 1.73 MB / 0.4954 GB, free: 18.02 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002752/0.2538, allocations: 191.3 kB / 0.4956 GB, free: 17.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.876e-05/0.2538, allocations: 37.19 kB / 0.4956 GB, free: 17.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002796/0.2541, allocations: 47.8 kB / 0.4957 GB, free: 17.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/0.2542, allocations: 70.05 kB / 0.4957 GB, free: 17.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.971e-05/0.2543, allocations: 29.58 kB / 0.4957 GB, free: 17.88 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004054/0.2547, allocations: 0.4888 MB / 0.4962 GB, free: 17.64 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2547, allocations: 0 / 0.4962 GB, free: 17.64 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001087/0.2558, allocations: 379.9 kB / 0.4966 GB, free: 17.27 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 25 (generator.i[3],generator.psi_s[1],generator.psi_s[2],generator.psi_rd[1],generator.psi_rq[1],line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.v[3,1],line.v[3,2],line.v[3,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[2,1],line.i[2,2],line.i[2,3],line.i[3,1],line.i[3,2],line.i[3,3],inertia.phi,inertia.w) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001842/0.2576, allocations: 2.327 MB / 0.4989 GB, free: 15.09 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002609/0.2602, allocations: 2.038 MB / 0.5009 GB, free: 13.29 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.2602, allocations: 4 kB / 0.5009 GB, free: 13.29 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006495/0.2609, allocations: 0.7332 MB / 0.5016 GB, free: 12.61 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006907/0.2616, allocations: 214.4 kB / 0.5018 GB, free: 12.43 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01224/0.2738, allocations: 13.42 MB / 0.5149 GB, free: 15.09 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005782/0.2744, allocations: 0.7094 MB / 0.5156 GB, free: 14.35 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005733/0.275, allocations: 320 kB / 0.5159 GB, free: 14.04 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004434/0.2754, allocations: 460.3 kB / 0.5163 GB, free: 13.59 MB / 426.7 MB Notification: Performance of SimCode: time 9.62e-07/0.2754, allocations: 3.938 kB / 0.5163 GB, free: 13.58 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.049/0.3244, allocations: 30.87 MB / 0.5465 GB, free: 15.03 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.711/9.035, allocations: 7.812 kB / 0.5465 GB, free: 15.03 MB / 458.7 MB " [Timeout remaining time 651] (rm -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.pipe >> ../files/PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Wind_WindTurbine_IG_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Wind_WindTurbine_IG.fmu > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.872581921517849] Failed to read output from testmodel.py, exit status != 0: 9.137910920195282 9.149010281 8.947137396 Calling exit ...