Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_DFIG,fileNamePrefix="PowerSystems_PowerSystems_Examples_Wind_WindTurbine_DFIG",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_DFIG,fileNamePrefix="PowerSystems_PowerSystems_Examples_Wind_WindTurbine_DFIG",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 107.3 kB / 16.92 MB, free: 5.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 191.3 kB / 17.85 MB, free: 5.168 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.283/1.283, allocations: 222.9 MB / 241.6 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1744/0.1744, allocations: 38.02 MB / 329.7 MB, free: 8.828 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 64.05 kB / 398.9 MB, free: 33.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09137/0.09267, allocations: 58.06 MB / 457 MB, free: 7.992 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_DFIG): time 0.0124/0.1051, allocations: 10.59 MB / 467.5 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009291/0.1144, allocations: 6.235 MB / 473.8 MB, free: 7.094 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001165/0.1157, allocations: 47.75 kB / 473.8 MB, free: 7.047 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01147/0.1271, allocations: 5.51 MB / 479.3 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003364/0.1305, allocations: 1.077 MB / 480.4 MB, free: 456 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001919/0.1325, allocations: 0.6472 MB / 481.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005055/0.1375, allocations: 3.209 MB / 484.3 MB, free: 12.58 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001768/0.1393, allocations: 1 MB / 485.3 MB, free: 11.55 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001757/0.1411, allocations: 1.062 MB / 486.3 MB, free: 10.48 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00206/0.1432, allocations: 1.347 MB / 487.7 MB, free: 9.133 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004363/0.1437, allocations: 144 kB / 487.8 MB, free: 8.992 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001075/0.1448, allocations: 423.5 kB / 488.2 MB, free: 8.578 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009064/0.1457, allocations: 0.8456 MB / 489.1 MB, free: 7.73 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001235/0.1469, allocations: 0.9291 MB / 490 MB, free: 6.797 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00208/0.149, allocations: 2.231 MB / 492.2 MB, free: 4.559 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.149, allocations: 0 / 492.2 MB, free: 4.559 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.149, allocations: 4 kB / 492.2 MB, free: 4.555 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.571e-05/0.1491, allocations: 0 / 492.2 MB, free: 4.555 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.00376/0.1528, allocations: 2.063 MB / 494.3 MB, free: 2.434 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.1529, allocations: 15.83 kB / 494.3 MB, free: 2.418 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002447/0.1531, allocations: 228 kB / 494.5 MB, free: 2.184 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001445/0.1546, allocations: 282.5 kB / 494.8 MB, free: 1.906 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002085/0.1567, allocations: 1.155 MB / 496 MB, free: 0.707 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.566e-05/0.1568, allocations: 98.62 kB / 496.1 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004536/0.1572, allocations: 235.7 kB / 496.3 MB, free: 388 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002806/0.16, allocations: 2.099 MB / 498.4 MB, free: 14.18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.238e-05/0.1601, allocations: 11.84 kB / 498.4 MB, free: 14.17 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001375/0.1602, allocations: 55.98 kB / 498.5 MB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006458/0.1609, allocations: 186.6 kB / 498.7 MB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002547/0.1635, allocations: 1.701 MB / 0.4886 GB, free: 12.22 MB / 382.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.009832/0.1733, allocations: 7.957 MB / 0.4964 GB, free: 3.922 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002253/0.1756, allocations: 1.63 MB / 0.498 GB, free: 2.207 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009293/0.1765, allocations: 0.6606 MB / 0.4986 GB, free: 1.543 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.874e-05/0.1766, allocations: 16.98 kB / 0.4987 GB, free: 1.527 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.439e-05/0.1766, allocations: 47.56 kB / 0.4987 GB, free: 1.473 MB / 382.1 MB Notification: Performance of pre-optimization done (n=127): time 3.396e-06/0.1767, allocations: 3.938 kB / 0.4987 GB, free: 1.469 MB / 382.1 MB Notification: Performance of matching and sorting (n=138): time 0.1754/0.352, allocations: 5.074 MB / 0.5037 GB, free: 55.38 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.368e-05/0.3521, allocations: 93.86 kB / 0.5037 GB, free: 55.28 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001101/0.3532, allocations: 0.9371 MB / 0.5047 GB, free: 54.91 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.689e-05/0.3533, allocations: 50.89 kB / 0.5047 GB, free: 54.86 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003646/0.3536, allocations: 0.7215 MB / 0.5054 GB, free: 54.29 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002877/0.3539, allocations: 0.495 MB / 0.5059 GB, free: 53.91 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003913/0.3543, allocations: 305.2 kB / 0.5062 GB, free: 53.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.353e-05/0.3544, allocations: 302.3 kB / 0.5065 GB, free: 53.48 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001054/0.3554, allocations: 0.7064 MB / 0.5072 GB, free: 53.26 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001275/0.3567, allocations: 1.15 MB / 0.5083 GB, free: 52.52 MB / 382.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.009684/0.3664, allocations: 4.105 MB / 0.5123 GB, free: 50.99 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-05/0.3665, allocations: 3.188 kB / 0.5123 GB, free: 50.99 MB / 382.1 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.006356/0.3728, allocations: 3.357 MB / 0.5156 GB, free: 49.7 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/0.3729, allocations: 11.12 kB / 0.5156 GB, free: 49.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.404e-05/0.3729, allocations: 14.88 kB / 0.5156 GB, free: 49.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002861/0.3758, allocations: 1.202 MB / 0.5168 GB, free: 49.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/0.3769, allocations: 293.3 kB / 0.5171 GB, free: 49.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01469/0.3916, allocations: 15.15 MB / 0.5319 GB, free: 38.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00112/0.3928, allocations: 79.84 kB / 0.5319 GB, free: 38.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000115/0.3929, allocations: 68 kB / 0.532 GB, free: 38.55 MB / 382.1 MB Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization system: inverter2.switch_dq0[1] = 1.224744871391589 * cos(select2.alpha0) * select2.v0 $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: 60 * 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 (146): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,15), (21,20)} Notification: Performance of prepare postOptimizeDAE: time 0.000696/0.3936, allocations: 0.5006 MB / 0.5325 GB, free: 38.04 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000178/0.3938, allocations: 130.3 kB / 0.5326 GB, free: 37.91 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002489/0.3963, allocations: 2.015 MB / 0.5346 GB, free: 35.82 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.757e-06/0.3963, allocations: 15.98 kB / 0.5346 GB, free: 35.81 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.3963, allocations: 4 kB / 0.5346 GB, free: 35.8 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.229e-05/0.3963, allocations: 7.922 kB / 0.5346 GB, free: 35.8 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004757/0.4011, allocations: 3.768 MB / 0.5383 GB, free: 31.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/0.4011, allocations: 8.094 kB / 0.5383 GB, free: 31.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001426/0.4026, allocations: 319.6 kB / 0.5386 GB, free: 31.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004094/0.403, allocations: 191.3 kB / 0.5388 GB, free: 31.37 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.045e-05/0.4031, allocations: 43.98 kB / 0.5388 GB, free: 31.33 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003399/0.4065, allocations: 6.69 MB / 0.5454 GB, free: 24.09 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.4065, allocations: 4 kB / 0.5454 GB, free: 24.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003038/0.4096, allocations: 2.713 MB / 0.548 GB, free: 21.25 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005113/0.4101, allocations: 323.2 kB / 0.5483 GB, free: 20.92 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001741/0.4103, allocations: 43.98 kB / 0.5484 GB, free: 20.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006687/0.4109, allocations: 59.94 kB / 0.5484 GB, free: 20.82 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001821/0.4111, allocations: 101.1 kB / 0.5485 GB, free: 20.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.792e-05/0.4112, allocations: 39.98 kB / 0.5485 GB, free: 20.68 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006067/0.4118, allocations: 0.6283 MB / 0.5492 GB, free: 20.04 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.92e-07/0.4118, allocations: 0 / 0.5492 GB, free: 20.04 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001571/0.4134, allocations: 487.9 kB / 0.5496 GB, free: 19.57 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 26 (generator.i[3],generator.psi_s[1],generator.psi_s[2],generator.psi_rd[1],generator.psi_rq[1],generator.phiRotor,line.v[1,2],line.v[1,3],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,meterDC.pav,inverter2.vDC1) * 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 (129): * Single equations (assignments): 124 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,10,100.0%), (1,1,100.0%), (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.003093/0.4165, allocations: 3.313 MB / 0.5529 GB, free: 16.11 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004826/0.4213, allocations: 3.493 MB / 0.5563 GB, free: 12.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.4214, allocations: 4 kB / 0.5563 GB, free: 12.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001404/0.4228, allocations: 1.244 MB / 0.5575 GB, free: 11.3 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001289/0.4241, allocations: 314.5 kB / 0.5578 GB, free: 11 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02337/0.4475, allocations: 17.95 MB / 0.5753 GB, free: 8.238 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00122/0.4487, allocations: 1.525 MB / 0.5768 GB, free: 6.68 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001216/0.45, allocations: 399.6 kB / 0.5772 GB, free: 6.285 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007568/0.4507, allocations: 0.6203 MB / 0.5778 GB, free: 5.664 MB / 398.1 MB Notification: Performance of SimCode: time 8.32e-07/0.4507, allocations: 0 / 0.5778 GB, free: 5.664 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07266/0.5234, allocations: 38.58 MB / 0.6155 GB, free: 15.31 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.82, allocations: 14.05 kB / 0.6155 GB, free: 15.3 MB / 446.1 MB (rm -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe >> ../files/PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Wind_WindTurbine_DFIG_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Wind_WindTurbine_DFIG.fmu > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe 2>&1)