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.001312/0.001312, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 14.72 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.002186/0.002186, allocations: 214 kB / 24.52 MB, free: 3.914 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.462/1.462, allocations: 230.6 MB / 258.3 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 178] 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.1904/0.1904, allocations: 38.55 MB / 353.2 MB, free: 12.39 MB / 286.1 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_IG,fileNamePrefix="PowerSystems_PowerSystems_Examples_Wind_WindTurbine_IG",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems 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.003397/0.003397, allocations: 55.91 kB / 493.3 MB, free: 4.723 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3495/0.3529, allocations: 62.47 MB / 0.5427 GB, free: 100 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.01031/0.3632, allocations: 7.654 MB / 0.5502 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009234/0.3725, allocations: 5.04 MB / 0.5551 GB, free: 6.422 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008866/0.3733, allocations: 37.44 kB / 0.5551 GB, free: 6.402 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01364/0.387, allocations: 5.812 MB / 0.5608 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002683/0.3897, allocations: 0.8519 MB / 0.5616 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001538/0.3912, allocations: 0.5069 MB / 0.5621 GB, free: 188 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004589/0.3958, allocations: 2.624 MB / 0.5647 GB, free: 13.55 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001183/0.397, allocations: 0.5555 MB / 0.5652 GB, free: 12.98 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001469/0.3985, allocations: 0.794 MB / 0.566 GB, free: 12.18 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001833/0.4003, allocations: 1.129 MB / 0.5671 GB, free: 11.05 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002231/0.4005, allocations: 104 kB / 0.5672 GB, free: 10.95 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009846/0.4015, allocations: 391.5 kB / 0.5676 GB, free: 10.57 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007302/0.4022, allocations: 0.67 MB / 0.5682 GB, free: 9.895 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007869/0.403, allocations: 0.5755 MB / 0.5688 GB, free: 9.316 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002493/0.4055, allocations: 1.751 MB / 0.5705 GB, free: 7.559 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.4055, allocations: 4 kB / 0.5705 GB, free: 7.555 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4055, allocations: 4 kB / 0.5705 GB, free: 7.551 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.225e-05/0.4055, allocations: 0 / 0.5705 GB, free: 7.551 MB / 414.1 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.003593/0.4091, allocations: 1.555 MB / 0.572 GB, free: 5.961 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.41e-05/0.4092, allocations: 15.98 kB / 0.5721 GB, free: 5.945 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.021e-05/0.4092, allocations: 26.19 kB / 0.5721 GB, free: 5.918 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002293/0.4095, allocations: 169.2 kB / 0.5722 GB, free: 5.742 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001493/0.411, allocations: 275.8 kB / 0.5725 GB, free: 5.473 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002181/0.4131, allocations: 0.8695 MB / 0.5734 GB, free: 4.57 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.445e-05/0.4132, allocations: 77.97 kB / 0.5734 GB, free: 4.496 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005274/0.4137, allocations: 179.8 kB / 0.5736 GB, free: 4.32 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00287/0.4166, allocations: 1.56 MB / 0.5751 GB, free: 2.68 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.414e-05/0.4167, allocations: 7.938 kB / 0.5751 GB, free: 2.672 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001174/0.4168, allocations: 43.92 kB / 0.5752 GB, free: 2.629 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006166/0.4174, allocations: 161.8 kB / 0.5753 GB, free: 2.469 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002286/0.4197, allocations: 1.245 MB / 0.5765 GB, free: 1.215 MB / 414.1 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.00915/0.4288, allocations: 5.644 MB / 0.5821 GB, free: 11.32 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001758/0.4306, allocations: 0.8691 MB / 0.5829 GB, free: 10.42 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008981/0.4315, allocations: 488.5 kB / 0.5834 GB, free: 9.941 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.708e-05/0.4316, allocations: 12.94 kB / 0.5834 GB, free: 9.93 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.668e-05/0.4316, allocations: 47.56 kB / 0.5834 GB, free: 9.875 MB / 430.1 MB Notification: Performance of pre-optimization done (n=91): time 3.677e-06/0.4316, allocations: 0 / 0.5834 GB, free: 9.875 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.006866/0.4385, allocations: 3.25 MB / 0.5866 GB, free: 6.602 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.739e-05/0.4385, allocations: 90.11 kB / 0.5867 GB, free: 6.496 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009361/0.4395, allocations: 0.7312 MB / 0.5874 GB, free: 5.75 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.884e-05/0.4396, allocations: 41.7 kB / 0.5874 GB, free: 5.703 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004724/0.44, allocations: 0.5706 MB / 0.588 GB, free: 5.125 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003894/0.4404, allocations: 384.8 kB / 0.5884 GB, free: 4.746 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003784/0.4408, allocations: 234.8 kB / 0.5886 GB, free: 4.512 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002287/0.441, allocations: 410.7 kB / 0.589 GB, free: 4.102 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00103/0.442, allocations: 0.5647 MB / 0.5895 GB, free: 3.535 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001261/0.4433, allocations: 0.8931 MB / 0.5904 GB, free: 2.512 MB / 430.1 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.008969/0.4523, allocations: 3.224 MB / 0.5936 GB, free: 15.16 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.141e-05/0.4523, allocations: 3.984 kB / 0.5936 GB, free: 15.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.006123/0.4584, allocations: 2.702 MB / 0.5962 GB, free: 12.44 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.949e-05/0.4584, allocations: 12 kB / 0.5962 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.03e-05/0.4585, allocations: 11.94 kB / 0.5962 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003076/0.4615, allocations: 1.147 MB / 0.5973 GB, free: 11.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009005/0.4624, allocations: 195.6 kB / 0.5975 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01938/0.4818, allocations: 11.92 MB / 0.6092 GB, free: 14.92 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/0.483, allocations: 60.03 kB / 0.6092 GB, free: 14.86 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001435/0.4831, allocations: 51.98 kB / 0.6093 GB, free: 14.81 MB / 462.1 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.0009185/0.484, allocations: 401.3 kB / 0.6096 GB, free: 14.41 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002128/0.4843, allocations: 107.3 kB / 0.6098 GB, free: 14.3 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002418/0.4867, allocations: 1.257 MB / 0.611 GB, free: 13.03 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/0.4867, allocations: 8 kB / 0.611 GB, free: 13.02 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.4867, allocations: 4 kB / 0.611 GB, free: 13.02 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.4867, allocations: 3.984 kB / 0.611 GB, free: 13.02 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005084/0.4918, allocations: 2.388 MB / 0.6133 GB, free: 10.55 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/0.4918, allocations: 7.938 kB / 0.6133 GB, free: 10.54 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001599/0.4934, allocations: 271.7 kB / 0.6136 GB, free: 10.27 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002029/0.4936, allocations: 61.89 kB / 0.6137 GB, free: 10.21 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001049/0.4937, allocations: 39.98 kB / 0.6137 GB, free: 10.17 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002353/0.4961, allocations: 2.613 MB / 0.6162 GB, free: 7.328 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.032e-06/0.4961, allocations: 7.938 kB / 0.6162 GB, free: 7.32 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003009/0.4991, allocations: 1.75 MB / 0.618 GB, free: 5.52 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005379/0.4996, allocations: 183.3 kB / 0.6181 GB, free: 5.34 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001525/0.4998, allocations: 39.94 kB / 0.6182 GB, free: 5.301 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005794/0.5003, allocations: 35.97 kB / 0.6182 GB, free: 5.266 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001739/0.5005, allocations: 72.81 kB / 0.6183 GB, free: 5.195 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.101e-05/0.5006, allocations: 27.98 kB / 0.6183 GB, free: 5.168 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006656/0.5013, allocations: 499 kB / 0.6188 GB, free: 4.688 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5013, allocations: 0 / 0.6188 GB, free: 4.688 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001326/0.5026, allocations: 380 kB / 0.6191 GB, free: 4.316 MB / 462.1 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.003269/0.5059, allocations: 2.34 MB / 0.6214 GB, free: 1.914 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004071/0.5099, allocations: 2.03 MB / 0.6234 GB, free: 15.86 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.195e-05/0.5099, allocations: 4.312 kB / 0.6234 GB, free: 15.86 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001195/0.5111, allocations: 0.7331 MB / 0.6241 GB, free: 15.1 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001165/0.5123, allocations: 212.2 kB / 0.6243 GB, free: 14.9 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0245/0.5368, allocations: 13.93 MB / 0.6379 GB, free: 0.5195 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008936/0.5377, allocations: 0.7172 MB / 0.6386 GB, free: 15.77 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0008922/0.5386, allocations: 308 kB / 0.6389 GB, free: 15.46 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007057/0.5393, allocations: 459.2 kB / 0.6394 GB, free: 15.01 MB / 494.1 MB Notification: Performance of SimCode: time 6.81e-07/0.5393, allocations: 0 / 0.6394 GB, free: 15.01 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09475/0.634, allocations: 30.8 MB / 0.6694 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.74/16.37, allocations: 4.062 kB / 0.6694 GB, free: 0.5547 MB / 0.4981 GB " [Timeout remaining time 643] (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: 19.238550291978754] Failed to read output from testmodel.py, exit status != 0: 16.5696164900437 16.598756947 16.187047516 Calling exit ...