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.0009595/0.0009595, allocations: 80.31 kB / 22.21 MB, free: 2.285 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.001064/0.001064, allocations: 170.8 kB / 25.61 MB, free: 8.855 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.9032/0.9032, allocations: 177.1 MB / 206 MB, free: 4.52 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.1329/0.1329, allocations: 29.43 MB / 292 MB, free: 2.648 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: translateModel(PowerSystems.Examples.Wind.WindTurbine_DFIG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG") translateModel(PowerSystems.Examples.Wind.WindTurbine_DFIG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 370.8 MB, free: 32.35 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.073e-05/1.194e-05, allocations: 3.125 kB / 370.9 MB, free: 32.34 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_DFIG): time 0.006002/0.006014, allocations: 9.147 MB / 380 MB, free: 23.17 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006524/0.01254, allocations: 5.966 MB / 386 MB, free: 17.18 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005959/0.01313, allocations: 67.44 kB / 386 MB, free: 17.12 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007804/0.02094, allocations: 5.686 MB / 391.7 MB, free: 11.42 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0017/0.02264, allocations: 1.107 MB / 392.8 MB, free: 10.3 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001321/0.02396, allocations: 0.7052 MB / 393.5 MB, free: 9.598 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003204/0.02716, allocations: 3.356 MB / 396.9 MB, free: 6.23 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001056/0.02822, allocations: 0.8435 MB / 397.7 MB, free: 5.363 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001751/0.02997, allocations: 1.562 MB / 399.3 MB, free: 3.797 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001362/0.03133, allocations: 1.235 MB / 400.5 MB, free: 2.559 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002274/0.03156, allocations: 136 kB / 400.7 MB, free: 2.426 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006743/0.03223, allocations: 435.4 kB / 401.1 MB, free: 2 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005779/0.03281, allocations: 0.904 MB / 402 MB, free: 1.094 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006409/0.03345, allocations: 0.6352 MB / 402.6 MB, free: 468 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001894/0.03535, allocations: 1.662 MB / 404.3 MB, free: 14.79 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.03535, allocations: 4 kB / 404.3 MB, free: 14.79 MB / 330.7 MB Notification: Performance of FrontEnd: time 6.62e-07/0.03535, allocations: 0 / 404.3 MB, free: 14.79 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.78e-05/0.03539, allocations: 0 / 404.3 MB, free: 14.79 MB / 330.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.002338/0.03773, allocations: 2.067 MB / 406.4 MB, free: 12.66 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.974e-05/0.03776, allocations: 12.02 kB / 406.4 MB, free: 12.65 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001036/0.03879, allocations: 431.5 kB / 406.8 MB, free: 12.23 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001204/0.04, allocations: 1.032 MB / 407.8 MB, free: 11.16 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.211e-05/0.04005, allocations: 102.6 kB / 407.9 MB, free: 11.06 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003026/0.04035, allocations: 211.8 kB / 408.1 MB, free: 10.85 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001318/0.04167, allocations: 1.299 MB / 409.4 MB, free: 9.418 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.353e-05/0.0417, allocations: 11.94 kB / 409.4 MB, free: 9.406 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.363e-05/0.0418, allocations: 55.98 kB / 409.5 MB, free: 9.352 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003327/0.04213, allocations: 190.6 kB / 409.7 MB, free: 9.164 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008187/0.04295, allocations: 0.5843 MB / 410.3 MB, free: 8.566 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005517/0.04846, allocations: 7.093 MB / 417.4 MB, free: 1.188 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008527/0.04932, allocations: 0.7216 MB / 418.1 MB, free: 468 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002828/0.0496, allocations: 247.1 kB / 418.3 MB, free: 212 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.98e-05/0.04966, allocations: 28.98 kB / 418.3 MB, free: 180 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.04969, allocations: 46.39 kB / 418.4 MB, free: 124 kB / 330.7 MB Notification: Performance of pre-optimization done (n=127): time 2.355e-06/0.04969, allocations: 3.938 kB / 418.4 MB, free: 120 kB / 330.7 MB Notification: Performance of matching and sorting (n=138): time 0.003388/0.05308, allocations: 2.349 MB / 420.7 MB, free: 13.73 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/0.05312, allocations: 94.36 kB / 420.8 MB, free: 13.62 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005572/0.05367, allocations: 0.866 MB / 421.7 MB, free: 12.73 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.437e-05/0.05374, allocations: 49.7 kB / 421.8 MB, free: 12.68 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00037/0.05411, allocations: 0.8114 MB / 422.6 MB, free: 11.85 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002863/0.0544, allocations: 0.5385 MB / 423.1 MB, free: 11.31 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003166/0.05471, allocations: 329 kB / 423.4 MB, free: 10.98 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.932e-05/0.05481, allocations: 480.7 kB / 423.9 MB, free: 10.5 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000279/0.05509, allocations: 211.8 kB / 424.1 MB, free: 10.3 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005566/0.05565, allocations: 0.8249 MB / 424.9 MB, free: 9.227 MB / 346.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.001392/0.05704, allocations: 1.685 MB / 426.6 MB, free: 7.309 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.086e-05/0.05705, allocations: 4 kB / 426.6 MB, free: 7.305 MB / 346.7 MB Notification: Performance of matching and sorting (n=220) (initialization): time 0.002817/0.05987, allocations: 2.053 MB / 428.7 MB, free: 5.223 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.05988, allocations: 18.44 kB / 428.7 MB, free: 5.207 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-05/0.0599, allocations: 12 kB / 428.7 MB, free: 5.195 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001731/0.06163, allocations: 0.9849 MB / 429.7 MB, free: 4.191 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005631/0.06219, allocations: 283.5 kB / 430 MB, free: 3.914 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008068/0.07026, allocations: 11.16 MB / 441.1 MB, free: 8.332 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004283/0.07069, allocations: 59.89 kB / 441.2 MB, free: 8.273 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.35e-05/0.07077, allocations: 56 kB / 441.2 MB, free: 8.219 MB / 362.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: 58 * Number of states: 0 () * 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 initialization (144): * Single equations (assignments): 140 * 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.0002933/0.07107, allocations: 264.1 kB / 441.5 MB, free: 7.949 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001654/0.07123, allocations: 175.2 kB / 441.7 MB, free: 7.777 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001182/0.07241, allocations: 1.017 MB / 442.7 MB, free: 6.723 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.256e-06/0.07242, allocations: 16 kB / 442.7 MB, free: 6.707 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.07243, allocations: 4 kB / 442.7 MB, free: 6.703 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.07244, allocations: 3.984 kB / 442.7 MB, free: 6.699 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002683/0.07512, allocations: 2.083 MB / 444.8 MB, free: 4.512 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/0.07513, allocations: 4 kB / 444.8 MB, free: 4.508 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008286/0.07595, allocations: 295.6 kB / 445.1 MB, free: 4.219 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002623/0.07622, allocations: 146.7 kB / 445.2 MB, free: 4.059 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.82e-05/0.07631, allocations: 47.97 kB / 445.3 MB, free: 4.012 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002996/0.0793, allocations: 7.425 MB / 452.7 MB, free: 12.14 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.0793, allocations: 8.125 kB / 452.7 MB, free: 12.13 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001482/0.08079, allocations: 1.483 MB / 454.2 MB, free: 10.55 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002517/0.08104, allocations: 199 kB / 454.4 MB, free: 10.35 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/0.08114, allocations: 47.94 kB / 454.4 MB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003064/0.08145, allocations: 39.98 kB / 454.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001414/0.08159, allocations: 105 kB / 454.6 MB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.525e-05/0.08163, allocations: 28 kB / 454.6 MB, free: 10.13 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000303/0.08194, allocations: 477.1 kB / 455.1 MB, free: 9.656 MB / 378.7 MB Notification: Performance of sort global known variables: time 4e-08/0.08194, allocations: 0 / 455.1 MB, free: 9.656 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009533/0.08289, allocations: 484 kB / 455.5 MB, free: 9.184 MB / 378.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.0001636/0.08305, allocations: 158.9 kB / 455.7 MB, free: 9.02 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001847/0.0849, allocations: 2.089 MB / 457.8 MB, free: 6.859 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.0849, allocations: 4 kB / 457.8 MB, free: 6.855 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007932/0.0857, allocations: 1.128 MB / 458.9 MB, free: 5.656 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007416/0.08644, allocations: 274.5 kB / 459.2 MB, free: 5.391 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004387/0.09082, allocations: 3.855 MB / 463 MB, free: 1.43 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003906/0.09122, allocations: 476.2 kB / 463.5 MB, free: 0.9375 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004468/0.09166, allocations: 183.2 kB / 463.7 MB, free: 0.7539 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004822/0.09214, allocations: 346 kB / 464 MB, free: 424 kB / 378.7 MB Notification: Performance of SimCode: time 9.52e-07/0.09215, allocations: 0 / 464 MB, free: 424 kB / 378.7 MB Notification: Performance of Templates: time 0.02797/0.1201, allocations: 25.01 MB / 489 MB, free: 7.742 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.makefile [Timeout 660] (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 & ./PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.7007689918391407]