Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.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.001135/0.001135, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001445/0.001445, allocations: 165 kB / 24.56 MB, free: 12 kB / 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.9908/0.9908, allocations: 177.1 MB / 205 MB, free: 5.621 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.2576/0.2576, allocations: 29.41 MB / 290.9 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: translateModel(PowerSystems.Examples.Wind.WindTurbine_PSGI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI") translateModel(PowerSystems.Examples.Wind.WindTurbine_PSGI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 369.6 MB, free: 10.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.282e-05/2.4e-05, allocations: 2.312 kB / 369.6 MB, free: 10.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGI): time 0.00842/0.008444, allocations: 9.734 MB / 379.4 MB, free: 1.195 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.008846/0.01729, allocations: 6.853 MB / 386.2 MB, free: 10.32 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001056/0.01835, allocations: 67.44 kB / 386.3 MB, free: 10.26 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01536/0.03371, allocations: 14.14 MB / 400.4 MB, free: 12.09 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002574/0.03628, allocations: 1.158 MB / 401.6 MB, free: 10.93 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001557/0.03784, allocations: 0.752 MB / 402.3 MB, free: 10.18 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004854/0.04269, allocations: 4.245 MB / 406.6 MB, free: 5.922 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001352/0.04405, allocations: 0.8591 MB / 407.4 MB, free: 5.043 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00229/0.04634, allocations: 1.633 MB / 409.1 MB, free: 3.406 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00193/0.04827, allocations: 1.324 MB / 410.4 MB, free: 2.078 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003978/0.04866, allocations: 140 kB / 410.5 MB, free: 1.941 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001048/0.04971, allocations: 0.5538 MB / 411.1 MB, free: 1.387 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007417/0.05045, allocations: 0.9663 MB / 412.1 MB, free: 428 kB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009139/0.05137, allocations: 0.6664 MB / 412.7 MB, free: 15.75 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002937/0.0543, allocations: 1.923 MB / 414.6 MB, free: 13.82 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.05431, allocations: 0 / 414.6 MB, free: 13.82 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.156e-06/0.05431, allocations: 3.938 kB / 414.6 MB, free: 13.82 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000116/0.05443, allocations: 0 / 414.6 MB, free: 13.82 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 409 * Number of variables: 409 Notification: Performance of Generate backend data structure: time 0.004069/0.0585, allocations: 2.299 MB / 416.9 MB, free: 11.46 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.05854, allocations: 11.98 kB / 417 MB, free: 11.45 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001637/0.06018, allocations: 0.5343 MB / 417.5 MB, free: 10.92 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001628/0.06181, allocations: 1.204 MB / 418.7 MB, free: 9.672 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.542e-05/0.06187, allocations: 106.7 kB / 418.8 MB, free: 9.566 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003857/0.06226, allocations: 227.7 kB / 419 MB, free: 9.344 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001953/0.06421, allocations: 1.493 MB / 420.5 MB, free: 7.711 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.389e-05/0.06426, allocations: 11.94 kB / 420.5 MB, free: 7.699 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001019/0.06436, allocations: 55.98 kB / 420.6 MB, free: 7.645 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000348/0.0647, allocations: 190.8 kB / 420.8 MB, free: 7.457 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0014/0.0661, allocations: 0.7977 MB / 421.6 MB, free: 6.652 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007201/0.07331, allocations: 7.686 MB / 429.3 MB, free: 14.64 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001233/0.07454, allocations: 0.8972 MB / 430.2 MB, free: 13.73 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006473/0.07519, allocations: 446 kB / 430.6 MB, free: 13.29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.934e-05/0.07525, allocations: 29.3 kB / 430.6 MB, free: 13.26 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.619e-05/0.07529, allocations: 50.7 kB / 430.7 MB, free: 13.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=130): time 3.566e-06/0.07529, allocations: 0 / 430.7 MB, free: 13.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=145): time 0.005548/0.08084, allocations: 3.446 MB / 434.1 MB, free: 9.723 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/0.08089, allocations: 90.42 kB / 434.2 MB, free: 9.617 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008275/0.08171, allocations: 1.019 MB / 435.2 MB, free: 8.582 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.337e-05/0.08179, allocations: 49.73 kB / 435.3 MB, free: 8.527 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000441/0.08223, allocations: 0.8818 MB / 436.1 MB, free: 7.633 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003364/0.08257, allocations: 0.554 MB / 436.7 MB, free: 7.074 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003339/0.0829, allocations: 337.1 kB / 437 MB, free: 6.734 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.083, allocations: 484.7 kB / 437.5 MB, free: 6.258 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004878/0.08349, allocations: 303.8 kB / 437.8 MB, free: 5.961 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001016/0.08451, allocations: 0.9722 MB / 438.8 MB, free: 4.723 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.001934/0.08644, allocations: 2.034 MB / 440.8 MB, free: 2.449 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.578e-06/0.08645, allocations: 4 kB / 440.8 MB, free: 2.445 MB / 410.7 MB Notification: Performance of matching and sorting (n=235) (initialization): time 0.1687/0.2551, allocations: 2.61 MB / 443.4 MB, free: 88.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.89e-05/0.2552, allocations: 12.25 kB / 443.4 MB, free: 88.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.162e-05/0.2552, allocations: 17.72 kB / 443.5 MB, free: 88.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003312/0.2585, allocations: 1.371 MB / 444.8 MB, free: 88.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007549/0.2592, allocations: 286.8 kB / 445.1 MB, free: 88.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01247/0.2717, allocations: 17.89 MB / 463 MB, free: 75.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009368/0.2727, allocations: 82.5 kB / 463.1 MB, free: 75.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000104/0.2728, allocations: 78.88 kB / 463.1 MB, free: 75.15 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.PI.x = 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: 64 * 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 (142): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(4,22), (21,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0004906/0.2732, allocations: 271.1 kB / 463.4 MB, free: 74.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001893/0.2734, allocations: 194.6 kB / 463.6 MB, free: 74.98 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001557/0.275, allocations: 1.212 MB / 464.8 MB, free: 74.84 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.266e-06/0.275, allocations: 16.59 kB / 464.8 MB, free: 74.84 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.275, allocations: 3.25 kB / 464.8 MB, free: 74.84 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/0.275, allocations: 6.797 kB / 464.8 MB, free: 74.84 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003223/0.2782, allocations: 2.54 MB / 467.4 MB, free: 74.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.2782, allocations: 3.125 kB / 467.4 MB, free: 74.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008674/0.2791, allocations: 344.9 kB / 467.7 MB, free: 74.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003316/0.2794, allocations: 175.7 kB / 467.9 MB, free: 74.25 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.37e-05/0.2795, allocations: 48.17 kB / 467.9 MB, free: 74.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00252/0.2821, allocations: 9.175 MB / 477.1 MB, free: 65.43 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.2821, allocations: 6.688 kB / 477.1 MB, free: 65.43 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001862/0.2839, allocations: 1.673 MB / 478.8 MB, free: 64.93 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000358/0.2843, allocations: 246.7 kB / 479 MB, free: 64.85 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001198/0.2844, allocations: 44.44 kB / 479.1 MB, free: 64.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003815/0.2848, allocations: 59.17 kB / 479.1 MB, free: 64.85 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001801/0.285, allocations: 110.8 kB / 479.2 MB, free: 64.85 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-05/0.285, allocations: 42.83 kB / 479.3 MB, free: 64.85 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004492/0.2855, allocations: 0.57 MB / 479.9 MB, free: 64.69 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2855, allocations: 0 / 479.9 MB, free: 64.69 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001411/0.2869, allocations: 0.5456 MB / 480.4 MB, free: 64.69 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 26 (inertia.phi,inertia.w,meterDC.pav,generator.i_s[1],generator.i_s[2],generator.i_s[3],generator.i_rd[1],generator.i_rq[1],inverter2.vDC1,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],PI.x) * 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 (137): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,1,100.0%), (1,1,100.0%), (1,8,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.0003233/0.2872, allocations: 188.7 kB / 480.6 MB, free: 64.59 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002783/0.29, allocations: 2.891 MB / 483.5 MB, free: 63.17 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.29, allocations: 0.5625 kB / 483.5 MB, free: 63.17 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009152/0.2909, allocations: 1.365 MB / 484.8 MB, free: 62.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008408/0.2917, allocations: 310.3 kB / 485.1 MB, free: 62.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00463/0.2964, allocations: 4.105 MB / 489.2 MB, free: 60.09 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004162/0.2968, allocations: 0.4935 MB / 489.7 MB, free: 59.95 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006682/0.2975, allocations: 358.5 kB / 490.1 MB, free: 59.89 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000255/0.2977, allocations: 107 kB / 490.2 MB, free: 59.88 MB / 410.7 MB Notification: Performance of SimCode: time 1.773e-06/0.2977, allocations: 0 / 490.2 MB, free: 59.88 MB / 410.7 MB Notification: Performance of Templates: time 0.03524/0.333, allocations: 28.22 MB / 0.5063 GB, free: 52.53 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe >> ../files/PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.sim & ./PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.8440538118593395]