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.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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 114.2 kB / 16.63 MB, free: 6.816 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.001096/0.001096, allocations: 190 kB / 17.55 MB, free: 5.93 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.302/1.302, allocations: 222.9 MB / 241.2 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1676/0.1676, allocations: 38.03 MB / 329.4 MB, free: 8.984 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 68.22 kB / 398.4 MB, free: 34.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08812/0.0894, allocations: 58.06 MB / 456.4 MB, free: 8.332 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.009749/0.09918, allocations: 9.31 MB / 465.7 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008173/0.1074, allocations: 5.856 MB / 471.6 MB, free: 9.102 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008229/0.1082, allocations: 47.69 kB / 471.7 MB, free: 9.055 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009262/0.1175, allocations: 5.291 MB / 476.9 MB, free: 3.754 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001881/0.1194, allocations: 0.7862 MB / 477.7 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001152/0.1206, allocations: 455.2 kB / 478.2 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003111/0.1237, allocations: 2.577 MB / 480.7 MB, free: 15.94 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001007/0.1247, allocations: 0.6611 MB / 481.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001178/0.1259, allocations: 0.7745 MB / 482.2 MB, free: 14.49 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001537/0.1275, allocations: 1.114 MB / 483.3 MB, free: 13.37 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002755/0.1277, allocations: 104 kB / 483.4 MB, free: 13.27 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007966/0.1286, allocations: 367.5 kB / 483.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006816/0.1292, allocations: 0.6624 MB / 484.4 MB, free: 12.25 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000875/0.1301, allocations: 0.6881 MB / 485.1 MB, free: 11.55 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001781/0.1319, allocations: 1.706 MB / 486.8 MB, free: 9.844 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1319, allocations: 4 kB / 486.8 MB, free: 9.84 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1319, allocations: 0 / 486.8 MB, free: 9.84 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.277e-05/0.132, allocations: 0 / 486.8 MB, free: 9.84 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.003245/0.1352, allocations: 1.593 MB / 488.4 MB, free: 8.191 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.1353, allocations: 11.89 kB / 488.4 MB, free: 8.18 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002279/0.1355, allocations: 169.2 kB / 488.6 MB, free: 8.004 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001196/0.1367, allocations: 219.1 kB / 488.8 MB, free: 7.789 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00171/0.1385, allocations: 0.9215 MB / 489.7 MB, free: 6.824 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.696e-05/0.1385, allocations: 69.97 kB / 489.8 MB, free: 6.758 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004203/0.1389, allocations: 183.8 kB / 490 MB, free: 6.578 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002288/0.1412, allocations: 1.56 MB / 491.5 MB, free: 4.938 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.634e-05/0.1413, allocations: 11.92 kB / 491.5 MB, free: 4.926 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001057/0.1414, allocations: 43.98 kB / 491.6 MB, free: 4.883 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005814/0.142, allocations: 153.9 kB / 491.7 MB, free: 4.73 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002061/0.1441, allocations: 1.249 MB / 493 MB, free: 3.473 MB / 366.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.00822/0.1523, allocations: 6.493 MB / 499.5 MB, free: 12.6 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001483/0.1538, allocations: 0.9112 MB / 0.4887 GB, free: 11.67 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008211/0.1546, allocations: 0.4966 MB / 0.4891 GB, free: 11.17 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.213e-05/0.1547, allocations: 24.98 kB / 0.4892 GB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.1548, allocations: 43.5 kB / 0.4892 GB, free: 11.09 MB / 382.1 MB Notification: Performance of pre-optimization done (n=91): time 2.515e-06/0.1548, allocations: 0 / 0.4892 GB, free: 11.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=96): time 0.0071/0.1619, allocations: 3.667 MB / 0.4928 GB, free: 7.281 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.38e-05/0.162, allocations: 98.03 kB / 0.4929 GB, free: 7.168 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001049/0.163, allocations: 0.7312 MB / 0.4936 GB, free: 6.426 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.087e-05/0.1631, allocations: 41.7 kB / 0.4936 GB, free: 6.379 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003611/0.1635, allocations: 0.5496 MB / 0.4942 GB, free: 5.82 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000311/0.1638, allocations: 366.8 kB / 0.4945 GB, free: 5.457 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003515/0.1642, allocations: 238.8 kB / 0.4948 GB, free: 5.219 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002272/0.1644, allocations: 410.7 kB / 0.4951 GB, free: 4.809 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001083/0.1655, allocations: 0.5647 MB / 0.4957 GB, free: 4.242 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001238/0.1667, allocations: 0.8854 MB / 0.4966 GB, free: 3.227 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.1729/0.3396, allocations: 3.245 MB / 0.4997 GB, free: 56.27 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.467e-05/0.3397, allocations: 4.344 kB / 0.4997 GB, free: 56.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.005871/0.3455, allocations: 2.74 MB / 0.5024 GB, free: 55.99 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.517e-05/0.3456, allocations: 9.578 kB / 0.5024 GB, free: 55.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.914e-05/0.3456, allocations: 11.62 kB / 0.5024 GB, free: 55.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002853/0.3485, allocations: 1.155 MB / 0.5036 GB, free: 55.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007998/0.3493, allocations: 197.3 kB / 0.5037 GB, free: 55.87 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01616/0.3655, allocations: 12.29 MB / 0.5157 GB, free: 49.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008581/0.3663, allocations: 61.81 kB / 0.5158 GB, free: 49.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001085/0.3665, allocations: 56.45 kB / 0.5159 GB, free: 49.79 MB / 382.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.000612/0.3671, allocations: 404.3 kB / 0.5162 GB, free: 49.57 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001444/0.3672, allocations: 96.41 kB / 0.5163 GB, free: 49.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002003/0.3692, allocations: 1.411 MB / 0.5177 GB, free: 48.87 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.181e-05/0.3693, allocations: 12.94 kB / 0.5177 GB, free: 48.87 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.3693, allocations: 1.188 kB / 0.5177 GB, free: 48.87 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/0.3693, allocations: 8.859 kB / 0.5177 GB, free: 48.87 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003679/0.373, allocations: 2.665 MB / 0.5203 GB, free: 47.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.373, allocations: 1.812 kB / 0.5203 GB, free: 47.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001448/0.3745, allocations: 275.4 kB / 0.5206 GB, free: 47.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001751/0.3746, allocations: 59.45 kB / 0.5207 GB, free: 47.61 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.27e-05/0.3747, allocations: 35.05 kB / 0.5207 GB, free: 47.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001356/0.3761, allocations: 2.848 MB / 0.5235 GB, free: 44.74 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.3761, allocations: 1.562 kB / 0.5235 GB, free: 44.74 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002084/0.3782, allocations: 1.89 MB / 0.5253 GB, free: 43.61 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003519/0.3786, allocations: 253.9 kB / 0.5256 GB, free: 43.41 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001306/0.3787, allocations: 41.86 kB / 0.5256 GB, free: 43.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005499/0.3793, allocations: 44.83 kB / 0.5256 GB, free: 43.36 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001544/0.3794, allocations: 71.06 kB / 0.5257 GB, free: 43.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-05/0.3795, allocations: 27.62 kB / 0.5257 GB, free: 43.31 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004453/0.3799, allocations: 0.4888 MB / 0.5262 GB, free: 43.04 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.3799, allocations: 0 / 0.5262 GB, free: 43.04 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001175/0.3811, allocations: 372.9 kB / 0.5266 GB, free: 43 MB / 382.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.002253/0.3834, allocations: 2.477 MB / 0.529 GB, free: 41.19 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004049/0.3875, allocations: 2.58 MB / 0.5315 GB, free: 38.6 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/0.3875, allocations: 0 / 0.5315 GB, free: 38.6 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008519/0.3883, allocations: 0.7583 MB / 0.5323 GB, free: 37.82 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000966/0.3893, allocations: 213.8 kB / 0.5325 GB, free: 37.62 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01867/0.408, allocations: 14.74 MB / 0.5469 GB, free: 22.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005988/0.4086, allocations: 1.298 MB / 0.5481 GB, free: 21.12 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008248/0.4095, allocations: 323.6 kB / 0.5484 GB, free: 20.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004719/0.4099, allocations: 463.3 kB / 0.5489 GB, free: 20.35 MB / 382.1 MB Notification: Performance of SimCode: time 7.62e-07/0.4099, allocations: 0 / 0.5489 GB, free: 20.35 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04538/0.4553, allocations: 29.66 MB / 0.5778 GB, free: 6.918 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001766/0.4555, allocations: 219.8 kB / 0.578 GB, free: 6.664 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.487/2.942, allocations: 0 / 0.578 GB, free: 6.664 MB / 398.1 MB (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 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Wind_WindTurbine_IG.fmu > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.pipe 2>&1)