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.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.0008202/0.0008202, 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.0009146/0.0009146, allocations: 170 kB / 23.95 MB, free: 0.6094 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.9094/0.9094, allocations: 177.1 MB / 204.3 MB, free: 5.723 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.2099/0.2099, 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_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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.738e-06/9.738e-06, allocations: 3.984 kB / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.042e-05/3.016e-05, allocations: 3.969 kB / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_DFIG): time 0.008205/0.008235, allocations: 9.842 MB / 440 MB, free: 3.703 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.172/0.1803, allocations: 5.749 MB / 445.8 MB, free: 43.37 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001038/0.1813, allocations: 67.31 kB / 445.9 MB, free: 43.37 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007354/0.1887, allocations: 6.069 MB / 451.9 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00199/0.1907, allocations: 1.112 MB / 453 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001234/0.1919, allocations: 0.7066 MB / 453.8 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003992/0.1959, allocations: 3.321 MB / 457.1 MB, free: 41.82 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001059/0.197, allocations: 0.8507 MB / 457.9 MB, free: 41.43 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001591/0.1985, allocations: 1.422 MB / 459.3 MB, free: 40.91 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001442/0.2, allocations: 1.305 MB / 460.7 MB, free: 40.69 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000223/0.2002, allocations: 148.2 kB / 460.8 MB, free: 40.68 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006653/0.2009, allocations: 455.8 kB / 461.2 MB, free: 40.61 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004451/0.2013, allocations: 0.9027 MB / 462.1 MB, free: 40.29 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005153/0.2018, allocations: 0.6407 MB / 462.8 MB, free: 40.06 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001652/0.2035, allocations: 2.323 MB / 465.1 MB, free: 39.34 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.2035, allocations: 3.344 kB / 465.1 MB, free: 39.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.2035, allocations: 4 kB / 465.1 MB, free: 39.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.165e-05/0.2035, allocations: 0 / 465.1 MB, free: 39.34 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: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.002475/0.206, allocations: 2.016 MB / 467.1 MB, free: 38.17 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.2061, allocations: 13.48 kB / 467.1 MB, free: 38.17 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002212/0.2063, allocations: 226.6 kB / 467.4 MB, free: 38.04 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001069/0.2074, allocations: 347.2 kB / 467.7 MB, free: 37.93 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001385/0.2087, allocations: 1.122 MB / 468.8 MB, free: 37.36 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.552e-05/0.2088, allocations: 107.9 kB / 468.9 MB, free: 37.31 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003174/0.2091, allocations: 217.9 kB / 469.1 MB, free: 37.26 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002044/0.2112, allocations: 2.119 MB / 471.3 MB, free: 36.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.721e-05/0.2112, allocations: 11.33 kB / 471.3 MB, free: 36.37 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.341e-05/0.2113, allocations: 52.64 kB / 471.3 MB, free: 36.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003161/0.2116, allocations: 185.4 kB / 471.5 MB, free: 36.32 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001834/0.2134, allocations: 1.699 MB / 473.2 MB, free: 35.77 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.006349/0.2198, allocations: 7.135 MB / 480.3 MB, free: 31.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001646/0.2214, allocations: 1.24 MB / 481.6 MB, free: 30.93 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000662/0.2221, allocations: 0.6155 MB / 482.2 MB, free: 30.71 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.647e-05/0.2222, allocations: 18.95 kB / 482.2 MB, free: 30.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.2222, allocations: 50.73 kB / 482.3 MB, free: 30.65 MB / 410.7 MB Notification: Performance of pre-optimization done (n=127): time 2.545e-06/0.2222, allocations: 0 / 482.3 MB, free: 30.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=138): time 0.006423/0.2286, allocations: 4.522 MB / 486.8 MB, free: 28.71 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.415e-05/0.2286, allocations: 99.64 kB / 486.9 MB, free: 28.61 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008996/0.2295, allocations: 0.9548 MB / 487.8 MB, free: 28.22 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.173e-05/0.2296, allocations: 54.83 kB / 487.9 MB, free: 28.17 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004378/0.23, allocations: 0.737 MB / 488.6 MB, free: 27.59 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002778/0.2303, allocations: 0.5201 MB / 489.1 MB, free: 27.18 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003286/0.2307, allocations: 303 kB / 489.4 MB, free: 27.04 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.468e-05/0.2307, allocations: 306.8 kB / 489.7 MB, free: 26.74 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000827/0.2315, allocations: 0.7076 MB / 490.5 MB, free: 26.52 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009849/0.2325, allocations: 1.151 MB / 491.6 MB, free: 25.77 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.006694/0.2392, allocations: 4.077 MB / 495.7 MB, free: 24.23 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-05/0.2392, allocations: 4.281 kB / 495.7 MB, free: 24.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.005033/0.2442, allocations: 3.234 MB / 498.9 MB, free: 23.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.29e-05/0.2443, allocations: 13.53 kB / 498.9 MB, free: 23.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.232e-05/0.2443, allocations: 14.48 kB / 498.9 MB, free: 23.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001965/0.2463, allocations: 1.178 MB / 0.4884 GB, free: 22.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007557/0.247, allocations: 303.3 kB / 0.4887 GB, free: 22.78 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0109/0.2579, allocations: 14.53 MB / 0.5029 GB, free: 12.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001141/0.2591, allocations: 87.62 kB / 0.503 GB, free: 12.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/0.2592, allocations: 68 kB / 0.503 GB, free: 11.99 MB / 410.7 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.0007843/0.26, allocations: 0.4933 MB / 0.5035 GB, free: 11.49 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001422/0.2601, allocations: 139.1 kB / 0.5036 GB, free: 11.35 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001733/0.2618, allocations: 1.783 MB / 0.5054 GB, free: 9.551 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.2618, allocations: 15.94 kB / 0.5054 GB, free: 9.535 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.2618, allocations: 7.938 kB / 0.5054 GB, free: 9.527 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.2619, allocations: 11.97 kB / 0.5054 GB, free: 9.516 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003466/0.2653, allocations: 3.305 MB / 0.5086 GB, free: 6.133 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.2653, allocations: 4 kB / 0.5086 GB, free: 6.129 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008107/0.2661, allocations: 320.1 kB / 0.509 GB, free: 5.816 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002829/0.2664, allocations: 191.2 kB / 0.5091 GB, free: 5.617 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-05/0.2665, allocations: 51.92 kB / 0.5092 GB, free: 5.566 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002613/0.2691, allocations: 6.22 MB / 0.5153 GB, free: 14.9 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.2691, allocations: 4 kB / 0.5153 GB, free: 14.89 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002908/0.272, allocations: 2.491 MB / 0.5177 GB, free: 12.34 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005039/0.2725, allocations: 251 kB / 0.5179 GB, free: 12.09 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001166/0.2727, allocations: 43.98 kB / 0.518 GB, free: 12.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003949/0.2731, allocations: 63.94 kB / 0.518 GB, free: 11.98 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001828/0.2732, allocations: 105 kB / 0.5181 GB, free: 11.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.337e-05/0.2733, allocations: 36 kB / 0.5182 GB, free: 11.85 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006673/0.274, allocations: 0.6321 MB / 0.5188 GB, free: 11.21 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.274, allocations: 0 / 0.5188 GB, free: 11.21 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002039/0.276, allocations: 484 kB / 0.5193 GB, free: 10.73 MB / 426.7 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.00314/0.2791, allocations: 3.089 MB / 0.5223 GB, free: 7.559 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003633/0.2828, allocations: 2.62 MB / 0.5248 GB, free: 4.891 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.2828, allocations: 0 / 0.5248 GB, free: 4.891 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001186/0.284, allocations: 1.191 MB / 0.526 GB, free: 3.652 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001106/0.2851, allocations: 328.7 kB / 0.5263 GB, free: 3.344 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01951/0.3046, allocations: 16.6 MB / 0.5425 GB, free: 2.141 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008505/0.3054, allocations: 0.9355 MB / 0.5434 GB, free: 1.168 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0008658/0.3063, allocations: 395.6 kB / 0.5438 GB, free: 0.7773 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006202/0.3069, allocations: 0.6292 MB / 0.5444 GB, free: 152 kB / 442.7 MB Notification: Performance of SimCode: time 1.192e-06/0.3069, allocations: 0 / 0.5444 GB, free: 152 kB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06302/0.3699, allocations: 40.19 MB / 0.5837 GB, free: 8.348 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.041/9.411, allocations: 0 / 0.5837 GB, free: 8.348 MB / 490.7 MB " [Timeout remaining time 650] (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 --stepSize=0.04 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Wind_WindTurbine_DFIG.fmu > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.282782201655209] Failed to read output from testmodel.py, exit status != 0: 9.52454302366823 9.533450417 9.328164867 Calling exit ...